@design-edito/tools 0.5.18 → 0.5.20
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/convert/index.js +0 -1
- package/agnostic/colors/index.d.ts +3 -3
- package/agnostic/colors/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +8 -8
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +8 -8
- package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/index.js +2 -2
- package/agnostic/html/hyper-json/utils/index.js +1 -1
- package/agnostic/html/index.d.ts +4 -4
- package/agnostic/html/index.js +4 -4
- package/agnostic/index.d.ts +5 -5
- package/agnostic/index.js +5 -5
- package/agnostic/misc/index.d.ts +4 -4
- package/agnostic/misc/index.js +4 -4
- 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/sanitization/index.d.ts +2 -2
- package/agnostic/sanitization/index.js +2 -2
- 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 +3 -3
- package/agnostic/time/index.js +3 -3
- package/components/Video/index.d.ts +9 -1
- package/components/Video/index.js +2 -2
- package/components/Video/types.d.ts +17 -1
- package/components/Video/types.js +30 -1
- package/components/index.d.ts +7 -7
- package/components/index.js +7 -7
- package/components/utils/viewport-behaviours/index.d.ts +25 -1
- package/components/utils/viewport-behaviours/index.js +35 -0
- package/node/@aws-s3/storage/file/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/index.js +1 -1
- package/node/@google-cloud/storage/file/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/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/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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unsafe-type-assertion -- TransformedColor<C> can't be narrowed from a generic type param at compile time; every assertion here is guarded by an isX(...) runtime check immediately prior */
|
|
2
|
-
/* eslint-disable max-lines */
|
|
3
2
|
import { absoluteModulo } from '../../numbers/absolute-modulo/index.js';
|
|
4
3
|
import { tidy } from '../tidy/index.js';
|
|
5
4
|
import { cssColors } from '../cssColorsMap.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'
|
|
6
7
|
export * as lerp from './lerp/index.js'
|
|
7
|
-
export * as luminance from './luminance/index.js'
|
|
8
8
|
export * as palette from './palette/index.js'
|
|
9
|
+
export * as luminance from './luminance/index.js'
|
|
9
10
|
export * as rotate from './rotate/index.js'
|
|
10
|
-
export * as tidy from './tidy/index.js'
|
|
11
11
|
export * as typechecks from './typechecks/index.js'
|
|
12
|
-
export * as
|
|
12
|
+
export * as tidy from './tidy/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'
|
|
6
7
|
export * as lerp from './lerp/index.js'
|
|
7
|
-
export * as luminance from './luminance/index.js'
|
|
8
8
|
export * as palette from './palette/index.js'
|
|
9
|
+
export * as luminance from './luminance/index.js'
|
|
9
10
|
export * as rotate from './rotate/index.js'
|
|
10
|
-
export * as tidy from './tidy/index.js'
|
|
11
11
|
export * as typechecks from './typechecks/index.js'
|
|
12
|
-
export * as
|
|
12
|
+
export * as tidy from './tidy/index.js'
|
|
@@ -14,39 +14,39 @@ export * as hjparse from './hjparse/index.js'
|
|
|
14
14
|
export * as hjstringify from './hjstringify/index.js'
|
|
15
15
|
export * as if from './if/index.js'
|
|
16
16
|
export * as join from './join/index.js'
|
|
17
|
-
export * as initialize from './initialize/index.js'
|
|
18
17
|
export * as length from './length/index.js'
|
|
19
18
|
export * as map from './map/index.js'
|
|
20
19
|
export * as negate from './negate/index.js'
|
|
21
20
|
export * as notrailing from './notrailing/index.js'
|
|
22
21
|
export * as or from './or/index.js'
|
|
23
22
|
export * as pickrandom from './pickrandom/index.js'
|
|
24
|
-
export * as print from './print/index.js'
|
|
25
23
|
export * as populate from './populate/index.js'
|
|
24
|
+
export * as print from './print/index.js'
|
|
26
25
|
export * as push from './push/index.js'
|
|
27
26
|
export * as pusheach from './pusheach/index.js'
|
|
28
|
-
export * as
|
|
27
|
+
export * as initialize from './initialize/index.js'
|
|
29
28
|
export * as removeattribute from './removeattribute/index.js'
|
|
29
|
+
export * as recordtoarray from './recordtoarray/index.js'
|
|
30
30
|
export * as removeclass from './removeclass/index.js'
|
|
31
|
-
export * as replace from './replace/index.js'
|
|
32
31
|
export * as renameproperty from './renameproperty/index.js'
|
|
32
|
+
export * as replace from './replace/index.js'
|
|
33
33
|
export * as select from './select/index.js'
|
|
34
34
|
export * as set from './set/index.js'
|
|
35
35
|
export * as setattribute from './setattribute/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'
|
|
40
39
|
export * as toarray from './toarray/index.js'
|
|
40
|
+
export * as spread from './spread/index.js'
|
|
41
41
|
export * as toboolean from './toboolean/index.js'
|
|
42
42
|
export * as toelement from './toelement/index.js'
|
|
43
|
-
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 toggleclass from './toggleclass/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
|
-
export * as transformselected from './transformselected/index.js'
|
|
51
51
|
export * as trim from './trim/index.js'
|
|
52
|
-
export * as
|
|
52
|
+
export * as transformselected from './transformselected/index.js'
|
|
@@ -14,39 +14,39 @@ export * as hjparse from './hjparse/index.js'
|
|
|
14
14
|
export * as hjstringify from './hjstringify/index.js'
|
|
15
15
|
export * as if from './if/index.js'
|
|
16
16
|
export * as join from './join/index.js'
|
|
17
|
-
export * as initialize from './initialize/index.js'
|
|
18
17
|
export * as length from './length/index.js'
|
|
19
18
|
export * as map from './map/index.js'
|
|
20
19
|
export * as negate from './negate/index.js'
|
|
21
20
|
export * as notrailing from './notrailing/index.js'
|
|
22
21
|
export * as or from './or/index.js'
|
|
23
22
|
export * as pickrandom from './pickrandom/index.js'
|
|
24
|
-
export * as print from './print/index.js'
|
|
25
23
|
export * as populate from './populate/index.js'
|
|
24
|
+
export * as print from './print/index.js'
|
|
26
25
|
export * as push from './push/index.js'
|
|
27
26
|
export * as pusheach from './pusheach/index.js'
|
|
28
|
-
export * as
|
|
27
|
+
export * as initialize from './initialize/index.js'
|
|
29
28
|
export * as removeattribute from './removeattribute/index.js'
|
|
29
|
+
export * as recordtoarray from './recordtoarray/index.js'
|
|
30
30
|
export * as removeclass from './removeclass/index.js'
|
|
31
|
-
export * as replace from './replace/index.js'
|
|
32
31
|
export * as renameproperty from './renameproperty/index.js'
|
|
32
|
+
export * as replace from './replace/index.js'
|
|
33
33
|
export * as select from './select/index.js'
|
|
34
34
|
export * as set from './set/index.js'
|
|
35
35
|
export * as setattribute from './setattribute/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'
|
|
40
39
|
export * as toarray from './toarray/index.js'
|
|
40
|
+
export * as spread from './spread/index.js'
|
|
41
41
|
export * as toboolean from './toboolean/index.js'
|
|
42
42
|
export * as toelement from './toelement/index.js'
|
|
43
|
-
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 toggleclass from './toggleclass/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
|
-
export * as transformselected from './transformselected/index.js'
|
|
51
51
|
export * as trim from './trim/index.js'
|
|
52
|
-
export * as
|
|
52
|
+
export * as transformselected from './transformselected/index.js'
|
|
@@ -6,8 +6,8 @@ export * as get from './get/index.js'
|
|
|
6
6
|
export * as nodelist from './nodelist/index.js'
|
|
7
7
|
export * as null from './null/index.js'
|
|
8
8
|
export * as number from './number/index.js'
|
|
9
|
-
export * as guess from './guess/index.js'
|
|
10
9
|
export * as record from './record/index.js'
|
|
10
|
+
export * as guess from './guess/index.js'
|
|
11
11
|
export * as string from './string/index.js'
|
|
12
|
-
export * as text from './text/index.js'
|
|
13
12
|
export * as ref from './ref/index.js'
|
|
13
|
+
export * as text from './text/index.js'
|
|
@@ -6,8 +6,8 @@ export * as get from './get/index.js'
|
|
|
6
6
|
export * as nodelist from './nodelist/index.js'
|
|
7
7
|
export * as null from './null/index.js'
|
|
8
8
|
export * as number from './number/index.js'
|
|
9
|
-
export * as guess from './guess/index.js'
|
|
10
9
|
export * as record from './record/index.js'
|
|
10
|
+
export * as guess from './guess/index.js'
|
|
11
11
|
export * as string from './string/index.js'
|
|
12
|
-
export * as text from './text/index.js'
|
|
13
12
|
export * as ref from './ref/index.js'
|
|
13
|
+
export * as text from './text/index.js'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* eslint-disable
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unsafe-type-assertion -- generic type params (T/K/Value) and DOM NodeList casts here can't be narrowed from a generic/runtime check at compile time; guarded by runtime typeCheck(s)/instanceof checks immediately prior */
|
|
2
2
|
import * as Window from '../../../misc/crossenv/window/index.js';
|
|
3
3
|
import { isRecord } from '../../../objects/is-record/index.js';
|
|
4
4
|
import { recordMap } from '../../../objects/record-map/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'
|
|
3
|
-
export * as hyperJson from './hyper-json/index.js'
|
|
4
2
|
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
3
|
+
export * as hyperJson from './hyper-json/index.js'
|
|
5
4
|
export * as insertNode from './insert-node/index.js'
|
|
6
5
|
export * as placeholders from './placeholders/index.js'
|
|
7
6
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
8
|
-
export * as
|
|
9
|
-
export * as stringToNodes from './string-to-nodes/index.js'
|
|
7
|
+
export * as deepSelect from './deep-select/index.js'
|
|
10
8
|
export * as watchSelection from './watch-selection/index.js'
|
|
9
|
+
export * as stringToNodes from './string-to-nodes/index.js'
|
|
10
|
+
export * as selectorToElement from './selector-to-element/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'
|
|
3
|
-
export * as hyperJson from './hyper-json/index.js'
|
|
4
2
|
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
3
|
+
export * as hyperJson from './hyper-json/index.js'
|
|
5
4
|
export * as insertNode from './insert-node/index.js'
|
|
6
5
|
export * as placeholders from './placeholders/index.js'
|
|
7
6
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
8
|
-
export * as
|
|
9
|
-
export * as stringToNodes from './string-to-nodes/index.js'
|
|
7
|
+
export * as deepSelect from './deep-select/index.js'
|
|
10
8
|
export * as watchSelection from './watch-selection/index.js'
|
|
9
|
+
export * as stringToNodes from './string-to-nodes/index.js'
|
|
10
|
+
export * as selectorToElement from './selector-to-element/index.js'
|
package/agnostic/index.d.ts
CHANGED
|
@@ -2,16 +2,16 @@ export * as arrays from './arrays/index.js'
|
|
|
2
2
|
export * as booleans from './booleans/index.js'
|
|
3
3
|
export * as colors from './colors/index.js'
|
|
4
4
|
export * as errors from './errors/index.js'
|
|
5
|
-
export * as html from './html/index.js'
|
|
6
5
|
export * as css from './css/index.js'
|
|
7
6
|
export * as misc from './misc/index.js'
|
|
7
|
+
export * as html from './html/index.js'
|
|
8
8
|
export * as numbers from './numbers/index.js'
|
|
9
|
-
export * as optim from './optim/index.js'
|
|
10
9
|
export * as objects from './objects/index.js'
|
|
11
10
|
export * as random from './random/index.js'
|
|
12
|
-
export * as sanitization from './sanitization/index.js'
|
|
13
|
-
export * as strings from './strings/index.js'
|
|
14
11
|
export * as regexps from './regexps/index.js'
|
|
15
|
-
export * as
|
|
12
|
+
export * as strings from './strings/index.js'
|
|
13
|
+
export * as sanitization from './sanitization/index.js'
|
|
16
14
|
export * as time from './time/index.js'
|
|
17
15
|
export * as typescript from './typescript/index.js'
|
|
16
|
+
export * as subtitles from './subtitles/index.js'
|
|
17
|
+
export * as optim from './optim/index.js'
|
package/agnostic/index.js
CHANGED
|
@@ -2,16 +2,16 @@ export * as arrays from './arrays/index.js'
|
|
|
2
2
|
export * as booleans from './booleans/index.js'
|
|
3
3
|
export * as colors from './colors/index.js'
|
|
4
4
|
export * as errors from './errors/index.js'
|
|
5
|
-
export * as html from './html/index.js'
|
|
6
5
|
export * as css from './css/index.js'
|
|
7
6
|
export * as misc from './misc/index.js'
|
|
7
|
+
export * as html from './html/index.js'
|
|
8
8
|
export * as numbers from './numbers/index.js'
|
|
9
|
-
export * as optim from './optim/index.js'
|
|
10
9
|
export * as objects from './objects/index.js'
|
|
11
10
|
export * as random from './random/index.js'
|
|
12
|
-
export * as sanitization from './sanitization/index.js'
|
|
13
|
-
export * as strings from './strings/index.js'
|
|
14
11
|
export * as regexps from './regexps/index.js'
|
|
15
|
-
export * as
|
|
12
|
+
export * as strings from './strings/index.js'
|
|
13
|
+
export * as sanitization from './sanitization/index.js'
|
|
16
14
|
export * as time from './time/index.js'
|
|
17
15
|
export * as typescript from './typescript/index.js'
|
|
16
|
+
export * as subtitles from './subtitles/index.js'
|
|
17
|
+
export * as optim from './optim/index.js'
|
package/agnostic/misc/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * as cast from './cast/index.js'
|
|
2
1
|
export * as assert from './assert/index.js'
|
|
3
|
-
export * as
|
|
2
|
+
export * as cast from './cast/index.js'
|
|
4
3
|
export * as connection from './connection/index.js'
|
|
4
|
+
export * as crawler from './crawler/index.js'
|
|
5
5
|
export * as crossenv from './crossenv/index.js'
|
|
6
6
|
export * as dataSize from './data-size/index.js'
|
|
7
|
-
export * as isNullish from './is-nullish/index.js'
|
|
8
7
|
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
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
|
-
export * as cast from './cast/index.js'
|
|
2
1
|
export * as assert from './assert/index.js'
|
|
3
|
-
export * as
|
|
2
|
+
export * as cast from './cast/index.js'
|
|
4
3
|
export * as connection from './connection/index.js'
|
|
4
|
+
export * as crawler from './crawler/index.js'
|
|
5
5
|
export * as crossenv from './crossenv/index.js'
|
|
6
6
|
export * as dataSize from './data-size/index.js'
|
|
7
|
-
export * as isNullish from './is-nullish/index.js'
|
|
8
7
|
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
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
|
-
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,9 +1,9 @@
|
|
|
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'
|
|
4
3
|
export * as isObject from './is-object/index.js'
|
|
5
4
|
export * as isRecord from './is-record/index.js'
|
|
6
5
|
export * as recordFormat from './record-format/index.js'
|
|
6
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
7
7
|
export * as sortKeys from './sort-keys/index.js'
|
|
8
8
|
export * as recordMap from './record-map/index.js'
|
|
9
9
|
export * as validation from './validation/index.js'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * as deepGetProperty from './deep-get-property/index.js'
|
|
2
2
|
export * as enums from './enums/index.js'
|
|
3
|
-
export * as flattenGetters from './flatten-getters/index.js'
|
|
4
3
|
export * as isObject from './is-object/index.js'
|
|
5
4
|
export * as isRecord from './is-record/index.js'
|
|
6
5
|
export * as recordFormat from './record-format/index.js'
|
|
6
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
7
7
|
export * as sortKeys from './sort-keys/index.js'
|
|
8
8
|
export * as recordMap from './record-map/index.js'
|
|
9
9
|
export * as validation from './validation/index.js'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as html from './html/index.js'
|
|
2
2
|
export * as path from './path/index.js'
|
|
3
3
|
export * as userInput from './user-input/index.js'
|
|
4
|
-
export * as
|
|
4
|
+
export * as fileName from './file-name/index.js'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as html from './html/index.js'
|
|
2
2
|
export * as path from './path/index.js'
|
|
3
3
|
export * as userInput from './user-input/index.js'
|
|
4
|
-
export * as
|
|
4
|
+
export * as fileName from './file-name/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * as charCodes from './char-codes/index.js'
|
|
2
1
|
export * as matches from './matches/index.js'
|
|
2
|
+
export * as charCodes from './char-codes/index.js'
|
|
3
3
|
export * as normalizeIndent from './normalize-indent/index.js'
|
|
4
4
|
export * as parseTable from './parse-table/index.js'
|
|
5
5
|
export * as replaceAll from './replace-all/index.js'
|
|
6
|
-
export * as splitTrim from './split-trim/index.js'
|
|
7
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
8
7
|
export * as trim from './trim/index.js'
|
|
8
|
+
export * as splitTrim from './split-trim/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * as charCodes from './char-codes/index.js'
|
|
2
1
|
export * as matches from './matches/index.js'
|
|
2
|
+
export * as charCodes from './char-codes/index.js'
|
|
3
3
|
export * as normalizeIndent from './normalize-indent/index.js'
|
|
4
4
|
export * as parseTable from './parse-table/index.js'
|
|
5
5
|
export * as replaceAll from './replace-all/index.js'
|
|
6
|
-
export * as splitTrim from './split-trim/index.js'
|
|
7
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
8
7
|
export * as trim from './trim/index.js'
|
|
8
|
+
export * as splitTrim from './split-trim/index.js'
|
package/agnostic/time/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as timeout from './timeout/index.js'
|
|
2
|
-
export * as transitions from './transitions/index.js'
|
|
3
|
-
export * as wait from './wait/index.js'
|
|
4
1
|
export * as dates from './dates/index.js'
|
|
5
2
|
export * as duration from './duration/index.js'
|
|
3
|
+
export * as transitions from './transitions/index.js'
|
|
4
|
+
export * as timeout from './timeout/index.js'
|
|
5
|
+
export * as wait from './wait/index.js'
|
package/agnostic/time/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as timeout from './timeout/index.js'
|
|
2
|
-
export * as transitions from './transitions/index.js'
|
|
3
|
-
export * as wait from './wait/index.js'
|
|
4
1
|
export * as dates from './dates/index.js'
|
|
5
2
|
export * as duration from './duration/index.js'
|
|
3
|
+
export * as transitions from './transitions/index.js'
|
|
4
|
+
export * as timeout from './timeout/index.js'
|
|
5
|
+
export * as wait from './wait/index.js'
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { type FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ViewportBehaviours } from '../utils/viewport-behaviours/types.js';
|
|
3
3
|
import type { VideoAction } from './types.js';
|
|
4
4
|
import { type Props as ControlledProps } from './index.controlled.js';
|
|
5
5
|
/**
|
|
6
6
|
* Props for the {@link Video} component.
|
|
7
7
|
*
|
|
8
8
|
* Extends all ControlledVideo props except play, mute, fullscreen, volume, playbackRate, and their associated event handlers
|
|
9
|
+
* @property behavioursSuspended - Holds back the instructions that **start** something,
|
|
10
|
+
* and lets through those that stop it. For a consumer withholding the video behind
|
|
11
|
+
* something — a warning to accept, typically: a video kept back that plays anyway is not
|
|
12
|
+
* withheld, it is merely hard to see. What was held back is replayed the moment this
|
|
13
|
+
* goes false, so lifting the veil on an already-visible video does what was asked, which
|
|
14
|
+
* a crossing-based trigger could never do. `':force'` does not override it: it speaks of
|
|
15
|
+
* consent not yet given, where a surrender speaks of an intention already expressed.
|
|
9
16
|
* @property visibilityThreshold - How much of the video has to be on screen to count as
|
|
10
17
|
* seen. See {@link VisibilityOptions} for this and the four that follow it.
|
|
11
18
|
* @property whenVisible - What to do each time it becomes visible.
|
|
@@ -32,6 +39,7 @@ import { type Props as ControlledProps } from './index.controlled.js';
|
|
|
32
39
|
*/
|
|
33
40
|
export type Props = Omit<ControlledProps, 'play' | 'fullscreen' | 'volume' | 'mute' | 'playbackRate' | 'subtitlesOn' | 'rootRef' | 'videoRef'> & ViewportBehaviours<VideoAction> & {
|
|
34
41
|
defaultSubtitlesOn?: boolean;
|
|
42
|
+
behavioursSuspended?: boolean;
|
|
35
43
|
};
|
|
36
44
|
/**
|
|
37
45
|
* Full-featured video player component. Wraps a native `<video>` element with
|
|
@@ -51,7 +51,7 @@ import { ControlledVideo } from './index.controlled.js';
|
|
|
51
51
|
* The media still won't play, though: autoplay muted, and leave unmuting to the
|
|
52
52
|
* reader.
|
|
53
53
|
*/
|
|
54
|
-
export const Video = ({ defaultSubtitlesOn = true, visibilityThreshold, visibilityRoot, visibilityRootMargin, visibilityOnAfterMs, visibilityOffAfterMs, whenVisible, whenHidden, onVisibilityChanged, onVideoClicked, onPlayButtonClicked, onPauseButtonClicked, onLoudButtonClicked, onMuteButtonClicked, onVolumeRangeChanged, onRateRangeChanged, onFullscreenButtonClicked, onSubtitlesButtonClicked, ...controlledProps }) => {
|
|
54
|
+
export const Video = ({ defaultSubtitlesOn = true, behavioursSuspended, visibilityThreshold, visibilityRoot, visibilityRootMargin, visibilityOnAfterMs, visibilityOffAfterMs, whenVisible, whenHidden, onVisibilityChanged, onVideoClicked, onPlayButtonClicked, onPauseButtonClicked, onLoudButtonClicked, onMuteButtonClicked, onVolumeRangeChanged, onRateRangeChanged, onFullscreenButtonClicked, onSubtitlesButtonClicked, ...controlledProps }) => {
|
|
55
55
|
// State & refs
|
|
56
56
|
const [play, setPlay] = useState(false);
|
|
57
57
|
const [volume, setVolume] = useState(1);
|
|
@@ -101,7 +101,7 @@ export const Video = ({ defaultSubtitlesOn = true, visibilityThreshold, visibili
|
|
|
101
101
|
whenVisible,
|
|
102
102
|
whenHidden,
|
|
103
103
|
onVisibilityChanged
|
|
104
|
-
}, actions);
|
|
104
|
+
}, actions, behavioursSuspended === true);
|
|
105
105
|
// Narrowed back to this component's own domains. The generic layer takes a `string`,
|
|
106
106
|
// having no vocabulary of its own; handing the handlers a typed door means a
|
|
107
107
|
// misspelled domain fails to compile instead of quietly never surrendering anything.
|
|
@@ -4,7 +4,23 @@
|
|
|
4
4
|
* `jump-to` is the only one taking an argument, and the table is keyed by the verb
|
|
5
5
|
* alone — the argument is parsed out of the instruction before the lookup.
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export declare const VIDEO_VERBS: readonly ["play", "pause", "loud", "mute", "jump-to", "jump-start", "jump-end"];
|
|
8
|
+
export type VideoVerb = typeof VIDEO_VERBS[number];
|
|
9
|
+
/**
|
|
10
|
+
* How to read the argument of each verb that takes one.
|
|
11
|
+
*
|
|
12
|
+
* **Exported because a consumer has to validate what it is handed**, and a type gives a
|
|
13
|
+
* runtime validator nothing to compare against. lm-link reads an article's props out of
|
|
14
|
+
* static XML and has to reject `'jump-to:banana'` before it ever reaches here — with the
|
|
15
|
+
* list restated on its side, the day a verb is added is the day an article writing it
|
|
16
|
+
* silently gets nothing.
|
|
17
|
+
*
|
|
18
|
+
* A digit string, and deliberately not `Number`: that would take `'1e3'` and `'0x10'`,
|
|
19
|
+
* which nobody means to write in an article.
|
|
20
|
+
*/
|
|
21
|
+
export declare const VIDEO_VERB_ARGUMENTS: {
|
|
22
|
+
readonly 'jump-to': (arg: string) => boolean;
|
|
23
|
+
};
|
|
8
24
|
/**
|
|
9
25
|
* The instructions a consumer writes in `whenVisible` / `whenHidden`.
|
|
10
26
|
*
|
|
@@ -1 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* The verbs a video answers to, as the table keys them.
|
|
3
|
+
*
|
|
4
|
+
* `jump-to` is the only one taking an argument, and the table is keyed by the verb
|
|
5
|
+
* alone — the argument is parsed out of the instruction before the lookup.
|
|
6
|
+
*/
|
|
7
|
+
export const VIDEO_VERBS = [
|
|
8
|
+
'play',
|
|
9
|
+
'pause',
|
|
10
|
+
'loud',
|
|
11
|
+
'mute',
|
|
12
|
+
'jump-to',
|
|
13
|
+
'jump-start',
|
|
14
|
+
'jump-end'
|
|
15
|
+
];
|
|
16
|
+
/**
|
|
17
|
+
* How to read the argument of each verb that takes one.
|
|
18
|
+
*
|
|
19
|
+
* **Exported because a consumer has to validate what it is handed**, and a type gives a
|
|
20
|
+
* runtime validator nothing to compare against. lm-link reads an article's props out of
|
|
21
|
+
* static XML and has to reject `'jump-to:banana'` before it ever reaches here — with the
|
|
22
|
+
* list restated on its side, the day a verb is added is the day an article writing it
|
|
23
|
+
* silently gets nothing.
|
|
24
|
+
*
|
|
25
|
+
* A digit string, and deliberately not `Number`: that would take `'1e3'` and `'0x10'`,
|
|
26
|
+
* which nobody means to write in an article.
|
|
27
|
+
*/
|
|
28
|
+
export const VIDEO_VERB_ARGUMENTS = {
|
|
29
|
+
'jump-to': (arg) => /^-?\d+$/v.test(arg)
|
|
30
|
+
};
|
package/components/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export * as beforeAfter from './BeforeAfter/index.js'
|
|
2
|
+
export * as clippable from './Clippable/index.js'
|
|
2
3
|
export * as button from './Button/index.js'
|
|
3
4
|
export * as disclaimer from './Disclaimer/index.js'
|
|
4
|
-
export * as clippable from './Clippable/index.js'
|
|
5
|
-
export * as eventListener from './EventListener/index.js'
|
|
6
5
|
export * as drawer from './Drawer/index.js'
|
|
7
|
-
export * as
|
|
6
|
+
export * as eventListener from './EventListener/index.js'
|
|
8
7
|
export * as gallery from './Gallery/index.js'
|
|
8
|
+
export * as iframe from './Iframe/index.js'
|
|
9
9
|
export * as image from './Image/index.js'
|
|
10
10
|
export * as input from './Input/index.js'
|
|
11
11
|
export * as intersectionObserver from './IntersectionObserver/index.js'
|
|
@@ -13,17 +13,17 @@ export * as jsonEditor from './JsonEditor/index.js'
|
|
|
13
13
|
export * as lightbox from './Lightbox/index.js'
|
|
14
14
|
export * as listLoader from './ListLoader/index.js'
|
|
15
15
|
export * as overlayer from './Overlayer/index.js'
|
|
16
|
-
export * as resizeObserver from './ResizeObserver/index.js'
|
|
17
16
|
export * as paginator from './Paginator/index.js'
|
|
17
|
+
export * as resizeObserver from './ResizeObserver/index.js'
|
|
18
18
|
export * as scrllgngn from './Scrllgngn/index.js'
|
|
19
19
|
export * as scrollListener from './ScrollListener/index.js'
|
|
20
20
|
export * as select from './Select/index.js'
|
|
21
21
|
export * as sequencer from './Sequencer/index.js'
|
|
22
22
|
export * as shadowRoot from './ShadowRoot/index.js'
|
|
23
|
-
export * as textarea from './Textarea/index.js'
|
|
24
23
|
export * as subtitles from './Subtitles/index.js'
|
|
25
|
-
export * as
|
|
24
|
+
export * as textarea from './Textarea/index.js'
|
|
26
25
|
export * as video from './Video/index.js'
|
|
27
|
-
export * as
|
|
26
|
+
export * as uiModule from './UIModule/index.js'
|
|
28
27
|
export * as wipIcon from './_WIP_Icon/index.js'
|
|
28
|
+
export * as wipAudioQuote from './_WIP_AudioQuote/index.js'
|
|
29
29
|
export * as utils from './utils/index.js'
|
package/components/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export * as beforeAfter from './BeforeAfter/index.js'
|
|
2
|
+
export * as clippable from './Clippable/index.js'
|
|
2
3
|
export * as button from './Button/index.js'
|
|
3
4
|
export * as disclaimer from './Disclaimer/index.js'
|
|
4
|
-
export * as clippable from './Clippable/index.js'
|
|
5
|
-
export * as eventListener from './EventListener/index.js'
|
|
6
5
|
export * as drawer from './Drawer/index.js'
|
|
7
|
-
export * as
|
|
6
|
+
export * as eventListener from './EventListener/index.js'
|
|
8
7
|
export * as gallery from './Gallery/index.js'
|
|
8
|
+
export * as iframe from './Iframe/index.js'
|
|
9
9
|
export * as image from './Image/index.js'
|
|
10
10
|
export * as input from './Input/index.js'
|
|
11
11
|
export * as intersectionObserver from './IntersectionObserver/index.js'
|
|
@@ -13,17 +13,17 @@ export * as jsonEditor from './JsonEditor/index.js'
|
|
|
13
13
|
export * as lightbox from './Lightbox/index.js'
|
|
14
14
|
export * as listLoader from './ListLoader/index.js'
|
|
15
15
|
export * as overlayer from './Overlayer/index.js'
|
|
16
|
-
export * as resizeObserver from './ResizeObserver/index.js'
|
|
17
16
|
export * as paginator from './Paginator/index.js'
|
|
17
|
+
export * as resizeObserver from './ResizeObserver/index.js'
|
|
18
18
|
export * as scrllgngn from './Scrllgngn/index.js'
|
|
19
19
|
export * as scrollListener from './ScrollListener/index.js'
|
|
20
20
|
export * as select from './Select/index.js'
|
|
21
21
|
export * as sequencer from './Sequencer/index.js'
|
|
22
22
|
export * as shadowRoot from './ShadowRoot/index.js'
|
|
23
|
-
export * as textarea from './Textarea/index.js'
|
|
24
23
|
export * as subtitles from './Subtitles/index.js'
|
|
25
|
-
export * as
|
|
24
|
+
export * as textarea from './Textarea/index.js'
|
|
26
25
|
export * as video from './Video/index.js'
|
|
27
|
-
export * as
|
|
26
|
+
export * as uiModule from './UIModule/index.js'
|
|
28
27
|
export * as wipIcon from './_WIP_Icon/index.js'
|
|
28
|
+
export * as wipAudioQuote from './_WIP_AudioQuote/index.js'
|
|
29
29
|
export * as utils from './utils/index.js'
|
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
2
|
import type { ActionTable, ViewportBehaviours, VisibilityOptions } from './types.js';
|
|
3
|
+
/**
|
|
4
|
+
* Whether a string is an instruction this vocabulary answers to.
|
|
5
|
+
*
|
|
6
|
+
* **It lives in the entry point and not next to `parseInstruction`**, which is where it
|
|
7
|
+
* belongs by subject, because the publish step only maps `index.js` and `types.js` into
|
|
8
|
+
* the package's exports — a `utils.js` is unreachable from outside, whatever it holds.
|
|
9
|
+
*
|
|
10
|
+
* **Exported for the consumers that receive their props as text.** lm-link reads an
|
|
11
|
+
* article's XML, where nothing is typed, and has to reject `'jump-to:banana'` before it
|
|
12
|
+
* reaches a component. Written on its side, the rule would exist twice and drift in
|
|
13
|
+
* silence — a verb added here would be rejected there for no visible reason.
|
|
14
|
+
*
|
|
15
|
+
* Returns a plain boolean rather than a type predicate, and that is not an oversight: a
|
|
16
|
+
* verb taking an argument is written `'jump-to:500'`, which is not a member of the verb
|
|
17
|
+
* list this checks against. Narrowing to `Instruction<A>` would therefore claim more than
|
|
18
|
+
* the list can support, and the caller that needs the narrow type is better off asserting
|
|
19
|
+
* it once, where it can say why.
|
|
20
|
+
*
|
|
21
|
+
* @param value - What the consumer wrote.
|
|
22
|
+
* @param verbs - The vocabulary, bare — `VIDEO_VERBS` and its like.
|
|
23
|
+
* @param withArgument - Those of them that take one, and what a valid one looks like. A
|
|
24
|
+
* verb given an argument it does not take, or denied one it needs, fails either way:
|
|
25
|
+
* both are a consumer meaning something the component cannot do.
|
|
26
|
+
*/
|
|
27
|
+
export declare function isInstruction(value: unknown, verbs: readonly string[], withArgument?: Readonly<Partial<Record<string, (arg: string) => boolean>>>): boolean;
|
|
3
28
|
/**
|
|
4
29
|
* Whether the element counts as visible — **as a state, not as a crossing**.
|
|
5
30
|
*
|
|
@@ -51,4 +76,3 @@ export type ViewportBehavioursResult = {
|
|
|
51
76
|
* and yielding is the silent one.
|
|
52
77
|
*/
|
|
53
78
|
export declare function useViewportBehaviours<A extends string>(targetRef: RefObject<Element | null>, props: ViewportBehaviours<A>, table: ActionTable<A>, suspended?: boolean): ViewportBehavioursResult;
|
|
54
|
-
export type { ActionSpec, ActionTable, Instruction, Modifier, ParsedInstruction, ViewportBehaviours, VisibilityOptions } from './types.js';
|
|
@@ -2,6 +2,41 @@ import { useCallback, useEffect, useRef, useState } from 'react';
|
|
|
2
2
|
import { useIntersectionObserver } from '../../IntersectionObserver/index.js';
|
|
3
3
|
import { useChangeDispatch } from '../index.js';
|
|
4
4
|
import { parseInstruction, toInstructionList } from './utils.js';
|
|
5
|
+
/**
|
|
6
|
+
* Whether a string is an instruction this vocabulary answers to.
|
|
7
|
+
*
|
|
8
|
+
* **It lives in the entry point and not next to `parseInstruction`**, which is where it
|
|
9
|
+
* belongs by subject, because the publish step only maps `index.js` and `types.js` into
|
|
10
|
+
* the package's exports — a `utils.js` is unreachable from outside, whatever it holds.
|
|
11
|
+
*
|
|
12
|
+
* **Exported for the consumers that receive their props as text.** lm-link reads an
|
|
13
|
+
* article's XML, where nothing is typed, and has to reject `'jump-to:banana'` before it
|
|
14
|
+
* reaches a component. Written on its side, the rule would exist twice and drift in
|
|
15
|
+
* silence — a verb added here would be rejected there for no visible reason.
|
|
16
|
+
*
|
|
17
|
+
* Returns a plain boolean rather than a type predicate, and that is not an oversight: a
|
|
18
|
+
* verb taking an argument is written `'jump-to:500'`, which is not a member of the verb
|
|
19
|
+
* list this checks against. Narrowing to `Instruction<A>` would therefore claim more than
|
|
20
|
+
* the list can support, and the caller that needs the narrow type is better off asserting
|
|
21
|
+
* it once, where it can say why.
|
|
22
|
+
*
|
|
23
|
+
* @param value - What the consumer wrote.
|
|
24
|
+
* @param verbs - The vocabulary, bare — `VIDEO_VERBS` and its like.
|
|
25
|
+
* @param withArgument - Those of them that take one, and what a valid one looks like. A
|
|
26
|
+
* verb given an argument it does not take, or denied one it needs, fails either way:
|
|
27
|
+
* both are a consumer meaning something the component cannot do.
|
|
28
|
+
*/
|
|
29
|
+
export function isInstruction(value, verbs, withArgument = {}) {
|
|
30
|
+
if (typeof value !== 'string')
|
|
31
|
+
return false;
|
|
32
|
+
const { verb, arg } = parseInstruction(value);
|
|
33
|
+
if (!verbs.includes(verb))
|
|
34
|
+
return false;
|
|
35
|
+
const validate = withArgument[verb];
|
|
36
|
+
if (validate === undefined)
|
|
37
|
+
return arg === undefined;
|
|
38
|
+
return arg !== undefined && validate(arg);
|
|
39
|
+
}
|
|
5
40
|
/**
|
|
6
41
|
* Whether the element counts as visible — **as a state, not as a crossing**.
|
|
7
42
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as copy from './copy/index.js'
|
|
2
|
+
export * as download from './download/index.js'
|
|
2
3
|
export * as exists from './exists/index.js'
|
|
3
4
|
export * as move from './move/index.js'
|
|
4
5
|
export * as remove from './remove/index.js'
|
|
5
6
|
export * as stat from './stat/index.js'
|
|
6
7
|
export * as upload from './upload/index.js'
|
|
7
|
-
export * as download from './download/index.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as copy from './copy/index.js'
|
|
2
|
+
export * as download from './download/index.js'
|
|
2
3
|
export * as exists from './exists/index.js'
|
|
3
4
|
export * as move from './move/index.js'
|
|
4
5
|
export * as remove from './remove/index.js'
|
|
5
6
|
export * as stat from './stat/index.js'
|
|
6
7
|
export * as upload from './upload/index.js'
|
|
7
|
-
export * as download from './download/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
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 getMetadata from './get-metadata/index.js'
|
|
5
4
|
export * as generateSignedUrl from './generate-signed-url/index.js'
|
|
5
|
+
export * as getMetadata from './get-metadata/index.js'
|
|
6
6
|
export * as getPermissions from './get-permissions/index.js'
|
|
7
7
|
export * as move from './move/index.js'
|
|
8
8
|
export * as remove from './remove/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
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 getMetadata from './get-metadata/index.js'
|
|
5
4
|
export * as generateSignedUrl from './generate-signed-url/index.js'
|
|
5
|
+
export * as getMetadata from './get-metadata/index.js'
|
|
6
6
|
export * as getPermissions from './get-permissions/index.js'
|
|
7
7
|
export * as move from './move/index.js'
|
|
8
8
|
export * as remove from './remove/index.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as copyDir from './copy-dir/index.js'
|
|
2
2
|
export * as copyFile from './copy-file/index.js'
|
|
3
|
-
export * as downloadFile from './download-file/index.js'
|
|
4
3
|
export * as existsFile from './exists-file/index.js'
|
|
4
|
+
export * as downloadFile from './download-file/index.js'
|
|
5
5
|
export * as listDir from './list-dir/index.js'
|
|
6
6
|
export * as moveDir from './move-dir/index.js'
|
|
7
7
|
export * as moveFile from './move-file/index.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as copyDir from './copy-dir/index.js'
|
|
2
2
|
export * as copyFile from './copy-file/index.js'
|
|
3
|
-
export * as downloadFile from './download-file/index.js'
|
|
4
3
|
export * as existsFile from './exists-file/index.js'
|
|
4
|
+
export * as downloadFile from './download-file/index.js'
|
|
5
5
|
export * as listDir from './list-dir/index.js'
|
|
6
6
|
export * as moveDir from './move-dir/index.js'
|
|
7
7
|
export * as moveFile from './move-file/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'
|
|
2
3
|
export * as metadata from './metadata/index.js'
|
|
3
4
|
export * as transform from './transform/index.js'
|
|
4
5
|
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'
|
|
2
3
|
export * as metadata from './metadata/index.js'
|
|
3
4
|
export * as transform from './transform/index.js'
|
|
4
5
|
export * as utils from './utils/index.js'
|
|
5
|
-
export * as format from './format/index.js'
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export * as blur from './blur/index.js'
|
|
2
|
+
export * as brighten from './brighten/index.js'
|
|
2
3
|
export * as extend from './extend/index.js'
|
|
3
4
|
export * as extract from './extract/index.js'
|
|
4
5
|
export * as flatten from './flatten/index.js'
|
|
5
6
|
export * as flip from './flip/index.js'
|
|
6
7
|
export * as flop from './flop/index.js'
|
|
7
|
-
export * as brighten from './brighten/index.js'
|
|
8
8
|
export * as hue from './hue/index.js'
|
|
9
9
|
export * as level from './level/index.js'
|
|
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
|
-
export * as lighten from './lighten/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,15 +1,15 @@
|
|
|
1
1
|
export * as blur from './blur/index.js'
|
|
2
|
+
export * as brighten from './brighten/index.js'
|
|
2
3
|
export * as extend from './extend/index.js'
|
|
3
4
|
export * as extract from './extract/index.js'
|
|
4
5
|
export * as flatten from './flatten/index.js'
|
|
5
6
|
export * as flip from './flip/index.js'
|
|
6
7
|
export * as flop from './flop/index.js'
|
|
7
|
-
export * as brighten from './brighten/index.js'
|
|
8
8
|
export * as hue from './hue/index.js'
|
|
9
9
|
export * as level from './level/index.js'
|
|
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
|
-
export * as lighten from './lighten/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'
|