@design-edito/tools 0.5.29 → 0.5.30
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/html/hyper-json/smart-tags/coalesced/index.d.ts +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/index.js +2 -2
- package/agnostic/html/index.d.ts +2 -2
- package/agnostic/html/index.js +2 -2
- package/agnostic/index.d.ts +3 -3
- package/agnostic/index.js +3 -3
- package/agnostic/misc/index.d.ts +1 -1
- package/agnostic/misc/index.js +1 -1
- package/agnostic/misc/logs/index.d.ts +1 -1
- package/agnostic/misc/logs/index.js +1 -1
- package/agnostic/optim/index.d.ts +1 -1
- package/agnostic/optim/index.js +1 -1
- package/agnostic/time/dates/index.d.ts +1 -1
- package/agnostic/time/dates/index.js +1 -1
- package/agnostic/time/index.d.ts +1 -1
- package/agnostic/time/index.js +1 -1
- package/components/Sequencer/index.d.ts +13 -1
- package/components/Sequencer/index.js +40 -3
- package/components/index.d.ts +2 -2
- package/components/index.js +2 -2
- package/node/@aws-s3/storage/file/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/index.js +1 -1
- package/node/@google-cloud/storage/directory/index.d.ts +2 -2
- package/node/@google-cloud/storage/directory/index.js +2 -2
- package/node/@google-cloud/storage/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/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/node/index.d.ts +1 -1
- package/node/index.js +1 -1
- package/node/process/index.d.ts +1 -1
- package/node/process/index.js +1 -1
- package/package.json +1 -1
|
@@ -12,41 +12,41 @@ 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 hjstringify from './hjstringify/index.js'
|
|
15
|
-
export * as initialize from './initialize/index.js'
|
|
16
15
|
export * as if from './if/index.js'
|
|
17
16
|
export * as join from './join/index.js'
|
|
17
|
+
export * as length from './length/index.js'
|
|
18
18
|
export * as map from './map/index.js'
|
|
19
|
+
export * as initialize from './initialize/index.js'
|
|
19
20
|
export * as negate from './negate/index.js'
|
|
20
|
-
export * as notrailing from './notrailing/index.js'
|
|
21
21
|
export * as or from './or/index.js'
|
|
22
|
-
export * as
|
|
22
|
+
export * as notrailing from './notrailing/index.js'
|
|
23
23
|
export * as pickrandom from './pickrandom/index.js'
|
|
24
|
+
export * as populate from './populate/index.js'
|
|
24
25
|
export * as print from './print/index.js'
|
|
25
26
|
export * as push from './push/index.js'
|
|
26
27
|
export * as pusheach from './pusheach/index.js'
|
|
27
|
-
export * as length from './length/index.js'
|
|
28
28
|
export * as recordtoarray from './recordtoarray/index.js'
|
|
29
|
-
export * as removeclass from './removeclass/index.js'
|
|
30
29
|
export * as removeattribute from './removeattribute/index.js'
|
|
30
|
+
export * as removeclass from './removeclass/index.js'
|
|
31
31
|
export * as renameproperty from './renameproperty/index.js'
|
|
32
32
|
export * as replace from './replace/index.js'
|
|
33
|
-
export * as set from './set/index.js'
|
|
34
33
|
export * as select from './select/index.js'
|
|
34
|
+
export * as set from './set/index.js'
|
|
35
35
|
export * as setproperty from './setproperty/index.js'
|
|
36
|
-
export * as setattribute from './setattribute/index.js'
|
|
37
|
-
export * as spread from './spread/index.js'
|
|
38
36
|
export * as sorton from './sorton/index.js'
|
|
39
|
-
export * as
|
|
37
|
+
export * as split from './split/index.js'
|
|
38
|
+
export * as spread from './spread/index.js'
|
|
40
39
|
export * as toboolean from './toboolean/index.js'
|
|
40
|
+
export * as toarray from './toarray/index.js'
|
|
41
41
|
export * as toelement from './toelement/index.js'
|
|
42
42
|
export * as toggleclass from './toggleclass/index.js'
|
|
43
|
-
export * as
|
|
43
|
+
export * as setattribute from './setattribute/index.js'
|
|
44
44
|
export * as tonull from './tonull/index.js'
|
|
45
|
-
export * as
|
|
45
|
+
export * as tonodelist from './tonodelist/index.js'
|
|
46
46
|
export * as torecord from './torecord/index.js'
|
|
47
|
+
export * as tonumber from './tonumber/index.js'
|
|
47
48
|
export * as toref from './toref/index.js'
|
|
48
49
|
export * as tostring from './tostring/index.js'
|
|
49
50
|
export * as totext from './totext/index.js'
|
|
50
51
|
export * as transformselected from './transformselected/index.js'
|
|
51
52
|
export * as trim from './trim/index.js'
|
|
52
|
-
export * as split from './split/index.js'
|
|
@@ -12,41 +12,41 @@ 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 hjstringify from './hjstringify/index.js'
|
|
15
|
-
export * as initialize from './initialize/index.js'
|
|
16
15
|
export * as if from './if/index.js'
|
|
17
16
|
export * as join from './join/index.js'
|
|
17
|
+
export * as length from './length/index.js'
|
|
18
18
|
export * as map from './map/index.js'
|
|
19
|
+
export * as initialize from './initialize/index.js'
|
|
19
20
|
export * as negate from './negate/index.js'
|
|
20
|
-
export * as notrailing from './notrailing/index.js'
|
|
21
21
|
export * as or from './or/index.js'
|
|
22
|
-
export * as
|
|
22
|
+
export * as notrailing from './notrailing/index.js'
|
|
23
23
|
export * as pickrandom from './pickrandom/index.js'
|
|
24
|
+
export * as populate from './populate/index.js'
|
|
24
25
|
export * as print from './print/index.js'
|
|
25
26
|
export * as push from './push/index.js'
|
|
26
27
|
export * as pusheach from './pusheach/index.js'
|
|
27
|
-
export * as length from './length/index.js'
|
|
28
28
|
export * as recordtoarray from './recordtoarray/index.js'
|
|
29
|
-
export * as removeclass from './removeclass/index.js'
|
|
30
29
|
export * as removeattribute from './removeattribute/index.js'
|
|
30
|
+
export * as removeclass from './removeclass/index.js'
|
|
31
31
|
export * as renameproperty from './renameproperty/index.js'
|
|
32
32
|
export * as replace from './replace/index.js'
|
|
33
|
-
export * as set from './set/index.js'
|
|
34
33
|
export * as select from './select/index.js'
|
|
34
|
+
export * as set from './set/index.js'
|
|
35
35
|
export * as setproperty from './setproperty/index.js'
|
|
36
|
-
export * as setattribute from './setattribute/index.js'
|
|
37
|
-
export * as spread from './spread/index.js'
|
|
38
36
|
export * as sorton from './sorton/index.js'
|
|
39
|
-
export * as
|
|
37
|
+
export * as split from './split/index.js'
|
|
38
|
+
export * as spread from './spread/index.js'
|
|
40
39
|
export * as toboolean from './toboolean/index.js'
|
|
40
|
+
export * as toarray from './toarray/index.js'
|
|
41
41
|
export * as toelement from './toelement/index.js'
|
|
42
42
|
export * as toggleclass from './toggleclass/index.js'
|
|
43
|
-
export * as
|
|
43
|
+
export * as setattribute from './setattribute/index.js'
|
|
44
44
|
export * as tonull from './tonull/index.js'
|
|
45
|
-
export * as
|
|
45
|
+
export * as tonodelist from './tonodelist/index.js'
|
|
46
46
|
export * as torecord from './torecord/index.js'
|
|
47
|
+
export * as tonumber from './tonumber/index.js'
|
|
47
48
|
export * as toref from './toref/index.js'
|
|
48
49
|
export * as tostring from './tostring/index.js'
|
|
49
50
|
export * as totext from './totext/index.js'
|
|
50
51
|
export * as transformselected from './transformselected/index.js'
|
|
51
52
|
export * as trim from './trim/index.js'
|
|
52
|
-
export * as split from './split/index.js'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export * as any from './any/index.js'
|
|
2
2
|
export * as array from './array/index.js'
|
|
3
3
|
export * as boolean from './boolean/index.js'
|
|
4
|
+
export * as element from './element/index.js'
|
|
4
5
|
export * as get from './get/index.js'
|
|
5
6
|
export * as guess from './guess/index.js'
|
|
6
7
|
export * as nodelist from './nodelist/index.js'
|
|
7
8
|
export * as null from './null/index.js'
|
|
8
|
-
export * as ref from './ref/index.js'
|
|
9
9
|
export * as number from './number/index.js'
|
|
10
10
|
export * as record from './record/index.js'
|
|
11
|
-
export * as
|
|
11
|
+
export * as ref from './ref/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
1
|
export * as any from './any/index.js'
|
|
2
2
|
export * as array from './array/index.js'
|
|
3
3
|
export * as boolean from './boolean/index.js'
|
|
4
|
+
export * as element from './element/index.js'
|
|
4
5
|
export * as get from './get/index.js'
|
|
5
6
|
export * as guess from './guess/index.js'
|
|
6
7
|
export * as nodelist from './nodelist/index.js'
|
|
7
8
|
export * as null from './null/index.js'
|
|
8
|
-
export * as ref from './ref/index.js'
|
|
9
9
|
export * as number from './number/index.js'
|
|
10
10
|
export * as record from './record/index.js'
|
|
11
|
-
export * as
|
|
11
|
+
export * as ref from './ref/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
|
@@ -2,9 +2,9 @@ export * as deepSelect from './deep-select/index.js'
|
|
|
2
2
|
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
3
3
|
export * as hyperJson from './hyper-json/index.js'
|
|
4
4
|
export * as insertNode from './insert-node/index.js'
|
|
5
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
5
6
|
export * as placeholders from './placeholders/index.js'
|
|
6
7
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
7
|
-
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
8
|
-
export * as selectorToElement from './selector-to-element/index.js'
|
|
9
8
|
export * as stringToNodes from './string-to-nodes/index.js'
|
|
9
|
+
export * as selectorToElement from './selector-to-element/index.js'
|
|
10
10
|
export * as watchSelection from './watch-selection/index.js'
|
package/agnostic/html/index.js
CHANGED
|
@@ -2,9 +2,9 @@ export * as deepSelect from './deep-select/index.js'
|
|
|
2
2
|
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
3
3
|
export * as hyperJson from './hyper-json/index.js'
|
|
4
4
|
export * as insertNode from './insert-node/index.js'
|
|
5
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
5
6
|
export * as placeholders from './placeholders/index.js'
|
|
6
7
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
7
|
-
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
8
|
-
export * as selectorToElement from './selector-to-element/index.js'
|
|
9
8
|
export * as stringToNodes from './string-to-nodes/index.js'
|
|
9
|
+
export * as selectorToElement from './selector-to-element/index.js'
|
|
10
10
|
export * as watchSelection from './watch-selection/index.js'
|
package/agnostic/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export * as arrays from './arrays/index.js'
|
|
2
|
-
export * as colors from './colors/index.js'
|
|
3
2
|
export * as booleans from './booleans/index.js'
|
|
3
|
+
export * as colors from './colors/index.js'
|
|
4
4
|
export * as css from './css/index.js'
|
|
5
|
-
export * as html from './html/index.js'
|
|
6
5
|
export * as errors from './errors/index.js'
|
|
7
|
-
export * as misc from './misc/index.js'
|
|
8
6
|
export * as numbers from './numbers/index.js'
|
|
9
7
|
export * as objects from './objects/index.js'
|
|
10
8
|
export * as optim from './optim/index.js'
|
|
@@ -12,6 +10,8 @@ export * as random from './random/index.js'
|
|
|
12
10
|
export * as regexps from './regexps/index.js'
|
|
13
11
|
export * as sanitization from './sanitization/index.js'
|
|
14
12
|
export * as strings from './strings/index.js'
|
|
13
|
+
export * as html from './html/index.js'
|
|
14
|
+
export * as misc from './misc/index.js'
|
|
15
15
|
export * as subtitles from './subtitles/index.js'
|
|
16
16
|
export * as time from './time/index.js'
|
|
17
17
|
export * as typescript from './typescript/index.js'
|
package/agnostic/index.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export * as arrays from './arrays/index.js'
|
|
2
|
-
export * as colors from './colors/index.js'
|
|
3
2
|
export * as booleans from './booleans/index.js'
|
|
3
|
+
export * as colors from './colors/index.js'
|
|
4
4
|
export * as css from './css/index.js'
|
|
5
|
-
export * as html from './html/index.js'
|
|
6
5
|
export * as errors from './errors/index.js'
|
|
7
|
-
export * as misc from './misc/index.js'
|
|
8
6
|
export * as numbers from './numbers/index.js'
|
|
9
7
|
export * as objects from './objects/index.js'
|
|
10
8
|
export * as optim from './optim/index.js'
|
|
@@ -12,6 +10,8 @@ export * as random from './random/index.js'
|
|
|
12
10
|
export * as regexps from './regexps/index.js'
|
|
13
11
|
export * as sanitization from './sanitization/index.js'
|
|
14
12
|
export * as strings from './strings/index.js'
|
|
13
|
+
export * as html from './html/index.js'
|
|
14
|
+
export * as misc from './misc/index.js'
|
|
15
15
|
export * as subtitles from './subtitles/index.js'
|
|
16
16
|
export * as time from './time/index.js'
|
|
17
17
|
export * as typescript from './typescript/index.js'
|
package/agnostic/misc/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ 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
6
|
export * as dataSize from './data-size/index.js'
|
|
7
|
-
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
8
7
|
export * as isNullish from './is-nullish/index.js'
|
|
9
8
|
export * as logs from './logs/index.js'
|
|
9
|
+
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
10
10
|
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
11
11
|
export * as normalizeExtension from './normalize-extension/index.js'
|
|
12
12
|
export * as outcome from './outcome/index.js'
|
package/agnostic/misc/index.js
CHANGED
|
@@ -4,9 +4,9 @@ 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
6
|
export * as dataSize from './data-size/index.js'
|
|
7
|
-
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
8
7
|
export * as isNullish from './is-nullish/index.js'
|
|
9
8
|
export * as logs from './logs/index.js'
|
|
9
|
+
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
10
10
|
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
11
11
|
export * as normalizeExtension from './normalize-extension/index.js'
|
|
12
12
|
export * as outcome from './outcome/index.js'
|
package/agnostic/optim/index.js
CHANGED
package/agnostic/time/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as dates from './dates/index.js'
|
|
2
1
|
export * as duration from './duration/index.js'
|
|
2
|
+
export * as dates from './dates/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 dates from './dates/index.js'
|
|
2
1
|
export * as duration from './duration/index.js'
|
|
2
|
+
export * as dates from './dates/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'
|
|
@@ -109,7 +109,19 @@ export type Props = PropsWithChildren<WithClassName<{
|
|
|
109
109
|
*
|
|
110
110
|
* ### On the root
|
|
111
111
|
* `--playing`, `--at-start`, `--at-end`, `--ended`, plus `data-step`, `data-active-step`,
|
|
112
|
-
* `data-total-steps` and `data-
|
|
112
|
+
* `data-total-steps`, `data-tempo` and `data-lap`.
|
|
113
|
+
*
|
|
114
|
+
* The same five numbers are also published as custom properties —
|
|
115
|
+
* `--lm-sequencer-step`, `--lm-sequencer-active-step`, `--lm-sequencer-total-steps`,
|
|
116
|
+
* `--lm-sequencer-tempo`, `--lm-sequencer-lap` — plus `--lm-sequencer-raw-step`, the
|
|
117
|
+
* counter that keeps growing across laps (`lap × total + step`). **A data attribute
|
|
118
|
+
* selects, a custom property computes**: `attr()` cannot feed a `calc()`, so a rule that
|
|
119
|
+
* wants to turn something by a degree per step needs the property, and gets it on every
|
|
120
|
+
* descendant since custom properties inherit —
|
|
121
|
+
* `transform: rotate(calc(var(--lm-sequencer-raw-step) * 5deg))`.
|
|
122
|
+
*
|
|
123
|
+
* No `-raw` twin as `ResizeObserver` has: every one of these is a bare number, and none
|
|
124
|
+
* of them would mean anything with a unit attached.
|
|
113
125
|
*
|
|
114
126
|
* ### On each element child
|
|
115
127
|
* The `__child` element class, then three pairs, one of each always present:
|
|
@@ -145,7 +145,19 @@ function stepsOf(child, elementIndex) {
|
|
|
145
145
|
*
|
|
146
146
|
* ### On the root
|
|
147
147
|
* `--playing`, `--at-start`, `--at-end`, `--ended`, plus `data-step`, `data-active-step`,
|
|
148
|
-
* `data-total-steps` and `data-
|
|
148
|
+
* `data-total-steps`, `data-tempo` and `data-lap`.
|
|
149
|
+
*
|
|
150
|
+
* The same five numbers are also published as custom properties —
|
|
151
|
+
* `--lm-sequencer-step`, `--lm-sequencer-active-step`, `--lm-sequencer-total-steps`,
|
|
152
|
+
* `--lm-sequencer-tempo`, `--lm-sequencer-lap` — plus `--lm-sequencer-raw-step`, the
|
|
153
|
+
* counter that keeps growing across laps (`lap × total + step`). **A data attribute
|
|
154
|
+
* selects, a custom property computes**: `attr()` cannot feed a `calc()`, so a rule that
|
|
155
|
+
* wants to turn something by a degree per step needs the property, and gets it on every
|
|
156
|
+
* descendant since custom properties inherit —
|
|
157
|
+
* `transform: rotate(calc(var(--lm-sequencer-raw-step) * 5deg))`.
|
|
158
|
+
*
|
|
159
|
+
* No `-raw` twin as `ResizeObserver` has: every one of these is a bare number, and none
|
|
160
|
+
* of them would mean anything with a unit attached.
|
|
149
161
|
*
|
|
150
162
|
* ### On each element child
|
|
151
163
|
* The `__child` element class, then three pairs, one of each always present:
|
|
@@ -212,6 +224,14 @@ export const Sequencer = ({ totalSteps, stepMap, step, defaultStep, play, defaul
|
|
|
212
224
|
// absolute, so setting it to a bare position on a looping sequence would count as a
|
|
213
225
|
// wrap backwards and fire `onLooped` for a move nobody made. `jump-by` is left alone
|
|
214
226
|
// on purpose — stepping past the last position really is a wrap, and says so.
|
|
227
|
+
//
|
|
228
|
+
// **The lap offset is for looping sequences only, and adding it elsewhere was a bug.**
|
|
229
|
+
// A sequence that does not loop runs its counter one past the end and leaves it there,
|
|
230
|
+
// so `lap` reads `1` from that moment on — and `jump-start` landed on `1 * stepsCount`,
|
|
231
|
+
// which is precisely the ended position it was asked to leave. The symptom: a sequence
|
|
232
|
+
// with `whenVisible='jump-start'` played once, stopped on its last step, and stayed
|
|
233
|
+
// there however many times it was scrolled past. Nothing is lost by dropping the
|
|
234
|
+
// offset here: without `loop`, there is no wrap to misread and `onLooped` never fires.
|
|
215
235
|
const jumpToPosition = (target) => {
|
|
216
236
|
if (step !== undefined || stepsCount <= 0)
|
|
217
237
|
return;
|
|
@@ -219,7 +239,7 @@ export const Sequencer = ({ totalSteps, stepMap, step, defaultStep, play, defaul
|
|
|
219
239
|
const bounded = loop === true
|
|
220
240
|
? absoluteModulo(resolved, stepsCount)
|
|
221
241
|
: clamp(resolved, 0, stepsCount - 1);
|
|
222
|
-
setInternalStep(lap * stepsCount + bounded);
|
|
242
|
+
setInternalStep(loop === true ? lap * stepsCount + bounded : bounded);
|
|
223
243
|
};
|
|
224
244
|
const jumpBy = (offset) => {
|
|
225
245
|
if (step !== undefined || stepsCount <= 0)
|
|
@@ -297,8 +317,25 @@ export const Sequencer = ({ totalSteps, stepMap, step, defaultStep, play, defaul
|
|
|
297
317
|
}
|
|
298
318
|
return positions;
|
|
299
319
|
};
|
|
320
|
+
// **The lap count is the wraps, so it is zero without `loop`.** The internal counter
|
|
321
|
+
// runs one past the end and stays there, which makes `lap` read `1` on a sequence that
|
|
322
|
+
// never wrapped at all — true of the division, false of the thing it is named after,
|
|
323
|
+
// and `onLooped` says the same by never firing without `loop`.
|
|
324
|
+
const publishedLap = loop === true ? lap : 0;
|
|
325
|
+
// Rebuilt from the published lap rather than read off `rawStep`, for that same reason:
|
|
326
|
+
// at the end of a non-looping sequence the internal counter sits one step past the last
|
|
327
|
+
// position, and a number meant to drive a transform must not overshoot the picture.
|
|
328
|
+
const rawStepProp = publishedLap * stepsCount + position;
|
|
329
|
+
const cssCustomProps = {
|
|
330
|
+
'--lm-sequencer-step': `${position}`,
|
|
331
|
+
'--lm-sequencer-active-step': `${activeStep}`,
|
|
332
|
+
'--lm-sequencer-total-steps': `${stepsCount}`,
|
|
333
|
+
'--lm-sequencer-tempo': `${tempo}`,
|
|
334
|
+
'--lm-sequencer-lap': `${publishedLap}`,
|
|
335
|
+
'--lm-sequencer-raw-step': `${rawStepProp}`
|
|
336
|
+
};
|
|
300
337
|
let elementIndex = -1;
|
|
301
|
-
return _jsx("div", { ref: rootRef, className: rootClss, "data-step": position, "data-active-step": activeStep, "data-total-steps": stepsCount, "data-tempo": tempo, children: childrenArr.map((child, childPos) => {
|
|
338
|
+
return _jsx("div", { ref: rootRef, className: rootClss, "data-step": position, "data-active-step": activeStep, "data-total-steps": stepsCount, "data-tempo": tempo, "data-lap": publishedLap, style: { ...cssCustomProps }, children: childrenArr.map((child, childPos) => {
|
|
302
339
|
if (!isValidElement(child))
|
|
303
340
|
return child;
|
|
304
341
|
elementIndex += 1;
|
package/components/index.d.ts
CHANGED
|
@@ -16,10 +16,10 @@ export * as overlayer from './Overlayer/index.js'
|
|
|
16
16
|
export * as paginator from './Paginator/index.js'
|
|
17
17
|
export * as resizeObserver from './ResizeObserver/index.js'
|
|
18
18
|
export * as scrllgngn from './Scrllgngn/index.js'
|
|
19
|
-
export * as scrollListener from './ScrollListener/index.js'
|
|
20
19
|
export * as select from './Select/index.js'
|
|
21
|
-
export * as
|
|
20
|
+
export * as scrollListener from './ScrollListener/index.js'
|
|
22
21
|
export * as sequencer from './Sequencer/index.js'
|
|
22
|
+
export * as shadowRoot from './ShadowRoot/index.js'
|
|
23
23
|
export * as subtitles from './Subtitles/index.js'
|
|
24
24
|
export * as textarea from './Textarea/index.js'
|
|
25
25
|
export * as uiModule from './UIModule/index.js'
|
package/components/index.js
CHANGED
|
@@ -16,10 +16,10 @@ export * as overlayer from './Overlayer/index.js'
|
|
|
16
16
|
export * as paginator from './Paginator/index.js'
|
|
17
17
|
export * as resizeObserver from './ResizeObserver/index.js'
|
|
18
18
|
export * as scrllgngn from './Scrllgngn/index.js'
|
|
19
|
-
export * as scrollListener from './ScrollListener/index.js'
|
|
20
19
|
export * as select from './Select/index.js'
|
|
21
|
-
export * as
|
|
20
|
+
export * as scrollListener from './ScrollListener/index.js'
|
|
22
21
|
export * as sequencer from './Sequencer/index.js'
|
|
22
|
+
export * as shadowRoot from './ShadowRoot/index.js'
|
|
23
23
|
export * as subtitles from './Subtitles/index.js'
|
|
24
24
|
export * as textarea from './Textarea/index.js'
|
|
25
25
|
export * as uiModule from './UIModule/index.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as download from './download/index.js'
|
|
2
1
|
export * as copy from './copy/index.js'
|
|
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
5
|
export * as remove from './remove/index.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as download from './download/index.js'
|
|
2
1
|
export * as copy from './copy/index.js'
|
|
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
5
|
export * as remove from './remove/index.js'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as copyDir from './copy-dir/index.js'
|
|
2
1
|
export * as moveDir from './move-dir/index.js'
|
|
3
|
-
export * as list from './list/index.js'
|
|
4
2
|
export * as removeDir from './remove-dir/index.js'
|
|
3
|
+
export * as copyDir from './copy-dir/index.js'
|
|
4
|
+
export * as list from './list/index.js'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as copyDir from './copy-dir/index.js'
|
|
2
1
|
export * as moveDir from './move-dir/index.js'
|
|
3
|
-
export * as list from './list/index.js'
|
|
4
2
|
export * as removeDir from './remove-dir/index.js'
|
|
3
|
+
export * as copyDir from './copy-dir/index.js'
|
|
4
|
+
export * as list from './list/index.js'
|
|
@@ -7,5 +7,5 @@ export * as moveDir from './move-dir/index.js'
|
|
|
7
7
|
export * as moveFile from './move-file/index.js'
|
|
8
8
|
export * as removeDir from './remove-dir/index.js'
|
|
9
9
|
export * as removeFile from './remove-file/index.js'
|
|
10
|
-
export * as statFile from './stat-file/index.js'
|
|
11
10
|
export * as uploadFile from './upload-file/index.js'
|
|
11
|
+
export * as statFile from './stat-file/index.js'
|
|
@@ -7,5 +7,5 @@ export * as moveDir from './move-dir/index.js'
|
|
|
7
7
|
export * as moveFile from './move-file/index.js'
|
|
8
8
|
export * as removeDir from './remove-dir/index.js'
|
|
9
9
|
export * as removeFile from './remove-file/index.js'
|
|
10
|
-
export * as statFile from './stat-file/index.js'
|
|
11
10
|
export * as uploadFile from './upload-file/index.js'
|
|
11
|
+
export * as statFile from './stat-file/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
|
-
export * as download from './download/index.js'
|
|
5
5
|
export * as remove from './remove/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
|
+
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
|
-
export * as download from './download/index.js'
|
|
5
5
|
export * as remove from './remove/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
2
|
export * as format from './format/index.js'
|
|
3
|
-
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 metadata from './metadata/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 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 metadata from './metadata/index.js'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export * as blur from './blur/index.js'
|
|
2
2
|
export * as brighten from './brighten/index.js'
|
|
3
|
-
export * as extend from './extend/index.js'
|
|
4
3
|
export * as extract from './extract/index.js'
|
|
5
4
|
export * as flatten from './flatten/index.js'
|
|
6
5
|
export * as flip from './flip/index.js'
|
|
7
|
-
export * as flop from './flop/index.js'
|
|
8
6
|
export * as hue from './hue/index.js'
|
|
7
|
+
export * as flop from './flop/index.js'
|
|
9
8
|
export * as level from './level/index.js'
|
|
10
9
|
export * as lighten from './lighten/index.js'
|
|
10
|
+
export * as extend from './extend/index.js'
|
|
11
11
|
export * as normalize from './normalize/index.js'
|
|
12
12
|
export * as overlay from './overlay/index.js'
|
|
13
13
|
export * as resize from './resize/index.js'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export * as blur from './blur/index.js'
|
|
2
2
|
export * as brighten from './brighten/index.js'
|
|
3
|
-
export * as extend from './extend/index.js'
|
|
4
3
|
export * as extract from './extract/index.js'
|
|
5
4
|
export * as flatten from './flatten/index.js'
|
|
6
5
|
export * as flip from './flip/index.js'
|
|
7
|
-
export * as flop from './flop/index.js'
|
|
8
6
|
export * as hue from './hue/index.js'
|
|
7
|
+
export * as flop from './flop/index.js'
|
|
9
8
|
export * as level from './level/index.js'
|
|
10
9
|
export * as lighten from './lighten/index.js'
|
|
10
|
+
export * as extend from './extend/index.js'
|
|
11
11
|
export * as normalize from './normalize/index.js'
|
|
12
12
|
export * as overlay from './overlay/index.js'
|
|
13
13
|
export * as resize from './resize/index.js'
|
package/node/index.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ export * as cloudStorage from './cloud-storage/index.js'
|
|
|
6
6
|
export * as encryption from './encryption/index.js'
|
|
7
7
|
export * as files from './files/index.js'
|
|
8
8
|
export * as ftps from './ftps/index.js'
|
|
9
|
-
export * as images from './images/index.js'
|
|
10
9
|
export * as process from './process/index.js'
|
|
11
10
|
export * as sftp from './sftp/index.js'
|
|
11
|
+
export * as images from './images/index.js'
|
package/node/index.js
CHANGED
|
@@ -6,6 +6,6 @@ export * as cloudStorage from './cloud-storage/index.js'
|
|
|
6
6
|
export * as encryption from './encryption/index.js'
|
|
7
7
|
export * as files from './files/index.js'
|
|
8
8
|
export * as ftps from './ftps/index.js'
|
|
9
|
-
export * as images from './images/index.js'
|
|
10
9
|
export * as process from './process/index.js'
|
|
11
10
|
export * as sftp from './sftp/index.js'
|
|
11
|
+
export * as images from './images/index.js'
|
package/node/process/index.d.ts
CHANGED
package/node/process/index.js
CHANGED