@design-edito/tools 0.4.17 → 0.4.19
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/TODO.md +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +18 -18
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +18 -18
- package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/index.js +4 -4
- package/agnostic/html/index.d.ts +4 -4
- package/agnostic/html/index.js +4 -4
- package/agnostic/index.d.ts +1 -1
- package/agnostic/index.js +1 -1
- package/agnostic/misc/index.d.ts +2 -2
- package/agnostic/misc/index.js +2 -2
- package/agnostic/misc/logs/index.d.ts +1 -1
- package/agnostic/misc/logs/index.js +1 -1
- package/agnostic/objects/index.d.ts +2 -2
- package/agnostic/objects/index.js +2 -2
- 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 +1 -1
- package/agnostic/strings/index.js +1 -1
- package/agnostic/time/index.d.ts +2 -2
- package/agnostic/time/index.js +2 -2
- package/components/BeforeAfter/index.controlled.d.ts +4 -3
- package/components/BeforeAfter/index.controlled.js +2 -2
- package/components/index.d.ts +2 -2
- package/components/index.js +2 -2
- package/components/public-classnames.d.ts +21 -21
- package/components/public-classnames.js +21 -21
- package/node/ftps/file/index.d.ts +1 -1
- package/node/ftps/file/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/package.json +1 -1
package/TODO.md
CHANGED
|
@@ -126,19 +126,19 @@ lm-tools/src/components/Subtitles/index.tsx
|
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
```html
|
|
129
|
-
<div class="
|
|
129
|
+
<div class="lm-subtitles">
|
|
130
130
|
<!-- Groupe passé (donc que sub prev dedans) -->
|
|
131
131
|
<div
|
|
132
|
-
class="
|
|
132
|
+
class="lm-subtitles__group lm-subtitles__group--prev"
|
|
133
133
|
data-start-sub-pos="0"
|
|
134
134
|
data-end-sub-pos="1">
|
|
135
|
-
<span class="
|
|
135
|
+
<span class="lm-subtitles__sub lm-subtitles__sub--prev" data-sub-pos="0">
|
|
136
136
|
Some sub
|
|
137
137
|
</span>
|
|
138
138
|
</div>
|
|
139
139
|
<!-- Groupe courant (mix de sub prev, curr et next) -->
|
|
140
140
|
<div
|
|
141
|
-
class="
|
|
141
|
+
class="lm-subtitles__group lm-subtitles__group--curr"
|
|
142
142
|
data-start-timecode="00:02:16,612"
|
|
143
143
|
data-end-timecode="00:02:16,612"
|
|
144
144
|
data-start-time-ms="34754382"
|
|
@@ -146,7 +146,7 @@ lm-tools/src/components/Subtitles/index.tsx
|
|
|
146
146
|
data-start-sub-pos="0"
|
|
147
147
|
data-end-sub-pos="1">
|
|
148
148
|
<span
|
|
149
|
-
class="
|
|
149
|
+
class="lm-subtitles__sub lm-subtitles__sub--curr"
|
|
150
150
|
data-start-timecode="00:02:16,612"
|
|
151
151
|
data-end-timecode="00:02:16,612"
|
|
152
152
|
data-start-time-ms="34754382"
|
|
@@ -156,7 +156,7 @@ lm-tools/src/components/Subtitles/index.tsx
|
|
|
156
156
|
</div>
|
|
157
157
|
<!-- Groupe à venir -->
|
|
158
158
|
<div
|
|
159
|
-
class="
|
|
159
|
+
class="lm-subtitles__group lm-subtitles__group--prev"
|
|
160
160
|
data-start-timecode="00:02:16,612"
|
|
161
161
|
data-end-timecode="00:02:16,612"
|
|
162
162
|
data-start-time-ms="34754382"
|
|
@@ -164,7 +164,7 @@ lm-tools/src/components/Subtitles/index.tsx
|
|
|
164
164
|
data-start-sub-pos="0"
|
|
165
165
|
data-end-sub-pos="1">
|
|
166
166
|
<span
|
|
167
|
-
class="
|
|
167
|
+
class="lm-subtitles__sub lm-subtitles__sub--prev"
|
|
168
168
|
data-start-timecode="00:02:16,612"
|
|
169
169
|
data-end-timecode="00:02:16,612"
|
|
170
170
|
data-start-time-ms="34754382"
|
|
@@ -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
6
|
export * as call from './call/index.js'
|
|
7
|
-
export * as deleteproperties from './deleteproperties/index.js'
|
|
8
7
|
export * as clone from './clone/index.js'
|
|
8
|
+
export * as deleteproperties from './deleteproperties/index.js'
|
|
9
|
+
export * as equals from './equals/index.js'
|
|
9
10
|
export * as getattribute from './getattribute/index.js'
|
|
10
11
|
export * as getproperties from './getproperties/index.js'
|
|
11
12
|
export * as getproperty from './getproperty/index.js'
|
|
12
|
-
export * as
|
|
13
|
+
export * as hjparse from './hjparse/index.js'
|
|
13
14
|
export * as if from './if/index.js'
|
|
14
|
-
export * as
|
|
15
|
+
export * as hjstringify from './hjstringify/index.js'
|
|
16
|
+
export * as join from './join/index.js'
|
|
15
17
|
export * as initialize from './initialize/index.js'
|
|
16
|
-
export * as hjparse from './hjparse/index.js'
|
|
17
|
-
export * as map from './map/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
|
+
export * as negate from './negate/index.js'
|
|
22
23
|
export * as pickrandom from './pickrandom/index.js'
|
|
23
|
-
export * as join from './join/index.js'
|
|
24
|
-
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
|
-
export * as removeattribute from './removeattribute/index.js'
|
|
30
28
|
export * as removeclass from './removeclass/index.js'
|
|
31
29
|
export * as renameproperty from './renameproperty/index.js'
|
|
32
30
|
export * as replace from './replace/index.js'
|
|
31
|
+
export * as select from './select/index.js'
|
|
32
|
+
export * as removeattribute from './removeattribute/index.js'
|
|
33
33
|
export * as set from './set/index.js'
|
|
34
34
|
export * as setattribute from './setattribute/index.js'
|
|
35
|
-
export * as setproperty from './setproperty/index.js'
|
|
36
|
-
export * as select from './select/index.js'
|
|
37
35
|
export * as sorton from './sorton/index.js'
|
|
36
|
+
export * as setproperty from './setproperty/index.js'
|
|
37
|
+
export * as populate from './populate/index.js'
|
|
38
38
|
export * as split from './split/index.js'
|
|
39
|
+
export * as spread from './spread/index.js'
|
|
39
40
|
export * as toarray from './toarray/index.js'
|
|
40
|
-
export * as toelement from './toelement/index.js'
|
|
41
41
|
export * as toboolean from './toboolean/index.js'
|
|
42
|
-
export * as
|
|
42
|
+
export * as toelement from './toelement/index.js'
|
|
43
43
|
export * as toggleclass from './toggleclass/index.js'
|
|
44
|
-
export * as tonull from './tonull/index.js'
|
|
45
44
|
export * as tonodelist from './tonodelist/index.js'
|
|
46
|
-
export * as
|
|
45
|
+
export * as tonull from './tonull/index.js'
|
|
47
46
|
export * as tonumber from './tonumber/index.js'
|
|
48
47
|
export * as toref from './toref/index.js'
|
|
49
|
-
export * as
|
|
48
|
+
export * as torecord from './torecord/index.js'
|
|
50
49
|
export * as totext from './totext/index.js'
|
|
51
50
|
export * as transformselected from './transformselected/index.js'
|
|
52
51
|
export * as trim from './trim/index.js'
|
|
52
|
+
export * as tostring from './tostring/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
6
|
export * as call from './call/index.js'
|
|
7
|
-
export * as deleteproperties from './deleteproperties/index.js'
|
|
8
7
|
export * as clone from './clone/index.js'
|
|
8
|
+
export * as deleteproperties from './deleteproperties/index.js'
|
|
9
|
+
export * as equals from './equals/index.js'
|
|
9
10
|
export * as getattribute from './getattribute/index.js'
|
|
10
11
|
export * as getproperties from './getproperties/index.js'
|
|
11
12
|
export * as getproperty from './getproperty/index.js'
|
|
12
|
-
export * as
|
|
13
|
+
export * as hjparse from './hjparse/index.js'
|
|
13
14
|
export * as if from './if/index.js'
|
|
14
|
-
export * as
|
|
15
|
+
export * as hjstringify from './hjstringify/index.js'
|
|
16
|
+
export * as join from './join/index.js'
|
|
15
17
|
export * as initialize from './initialize/index.js'
|
|
16
|
-
export * as hjparse from './hjparse/index.js'
|
|
17
|
-
export * as map from './map/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
|
+
export * as negate from './negate/index.js'
|
|
22
23
|
export * as pickrandom from './pickrandom/index.js'
|
|
23
|
-
export * as join from './join/index.js'
|
|
24
|
-
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
|
-
export * as removeattribute from './removeattribute/index.js'
|
|
30
28
|
export * as removeclass from './removeclass/index.js'
|
|
31
29
|
export * as renameproperty from './renameproperty/index.js'
|
|
32
30
|
export * as replace from './replace/index.js'
|
|
31
|
+
export * as select from './select/index.js'
|
|
32
|
+
export * as removeattribute from './removeattribute/index.js'
|
|
33
33
|
export * as set from './set/index.js'
|
|
34
34
|
export * as setattribute from './setattribute/index.js'
|
|
35
|
-
export * as setproperty from './setproperty/index.js'
|
|
36
|
-
export * as select from './select/index.js'
|
|
37
35
|
export * as sorton from './sorton/index.js'
|
|
36
|
+
export * as setproperty from './setproperty/index.js'
|
|
37
|
+
export * as populate from './populate/index.js'
|
|
38
38
|
export * as split from './split/index.js'
|
|
39
|
+
export * as spread from './spread/index.js'
|
|
39
40
|
export * as toarray from './toarray/index.js'
|
|
40
|
-
export * as toelement from './toelement/index.js'
|
|
41
41
|
export * as toboolean from './toboolean/index.js'
|
|
42
|
-
export * as
|
|
42
|
+
export * as toelement from './toelement/index.js'
|
|
43
43
|
export * as toggleclass from './toggleclass/index.js'
|
|
44
|
-
export * as tonull from './tonull/index.js'
|
|
45
44
|
export * as tonodelist from './tonodelist/index.js'
|
|
46
|
-
export * as
|
|
45
|
+
export * as tonull from './tonull/index.js'
|
|
47
46
|
export * as tonumber from './tonumber/index.js'
|
|
48
47
|
export * as toref from './toref/index.js'
|
|
49
|
-
export * as
|
|
48
|
+
export * as torecord from './torecord/index.js'
|
|
50
49
|
export * as totext from './totext/index.js'
|
|
51
50
|
export * as transformselected from './transformselected/index.js'
|
|
52
51
|
export * as trim from './trim/index.js'
|
|
52
|
+
export * as tostring from './tostring/index.js'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as array from './array/index.js'
|
|
2
2
|
export * as boolean from './boolean/index.js'
|
|
3
3
|
export * as element from './element/index.js'
|
|
4
4
|
export * as get from './get/index.js'
|
|
5
|
-
export * as
|
|
6
|
-
export * as guess from './guess/index.js'
|
|
5
|
+
export * as any from './any/index.js'
|
|
7
6
|
export * as nodelist from './nodelist/index.js'
|
|
7
|
+
export * as guess from './guess/index.js'
|
|
8
8
|
export * as null from './null/index.js'
|
|
9
|
-
export * as number from './number/index.js'
|
|
10
9
|
export * as record from './record/index.js'
|
|
11
10
|
export * as ref from './ref/index.js'
|
|
11
|
+
export * as number from './number/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
|
|
1
|
+
export * as array from './array/index.js'
|
|
2
2
|
export * as boolean from './boolean/index.js'
|
|
3
3
|
export * as element from './element/index.js'
|
|
4
4
|
export * as get from './get/index.js'
|
|
5
|
-
export * as
|
|
6
|
-
export * as guess from './guess/index.js'
|
|
5
|
+
export * as any from './any/index.js'
|
|
7
6
|
export * as nodelist from './nodelist/index.js'
|
|
7
|
+
export * as guess from './guess/index.js'
|
|
8
8
|
export * as null from './null/index.js'
|
|
9
|
-
export * as number from './number/index.js'
|
|
10
9
|
export * as record from './record/index.js'
|
|
11
10
|
export * as ref from './ref/index.js'
|
|
11
|
+
export * as number from './number/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'
|
|
3
|
-
export * as
|
|
2
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
4
3
|
export * as insertNode from './insert-node/index.js'
|
|
4
|
+
export * as hyperJson from './hyper-json/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'
|
|
7
|
+
export * as stringToNodes from './string-to-nodes/index.js'
|
|
8
8
|
export * as selectorToElement from './selector-to-element/index.js'
|
|
9
9
|
export * as watchSelection from './watch-selection/index.js'
|
|
10
|
-
export * as
|
|
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'
|
|
3
|
-
export * as
|
|
2
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
4
3
|
export * as insertNode from './insert-node/index.js'
|
|
4
|
+
export * as hyperJson from './hyper-json/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'
|
|
7
|
+
export * as stringToNodes from './string-to-nodes/index.js'
|
|
8
8
|
export * as selectorToElement from './selector-to-element/index.js'
|
|
9
9
|
export * as watchSelection from './watch-selection/index.js'
|
|
10
|
-
export * as
|
|
10
|
+
export * as deepSelect from './deep-select/index.js'
|
package/agnostic/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ 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 css from './css/index.js'
|
|
5
|
-
export * as html from './html/index.js'
|
|
6
5
|
export * as errors from './errors/index.js'
|
|
6
|
+
export * as html from './html/index.js'
|
|
7
7
|
export * as misc from './misc/index.js'
|
|
8
8
|
export * as numbers from './numbers/index.js'
|
|
9
9
|
export * as objects from './objects/index.js'
|
package/agnostic/index.js
CHANGED
|
@@ -2,8 +2,8 @@ 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 css from './css/index.js'
|
|
5
|
-
export * as html from './html/index.js'
|
|
6
5
|
export * as errors from './errors/index.js'
|
|
6
|
+
export * as html from './html/index.js'
|
|
7
7
|
export * as misc from './misc/index.js'
|
|
8
8
|
export * as numbers from './numbers/index.js'
|
|
9
9
|
export * as objects from './objects/index.js'
|
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'
|
|
@@ -2,8 +2,8 @@ export * as deepGetProperty from './deep-get-property/index.js'
|
|
|
2
2
|
export * as enums from './enums/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
|
|
5
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
6
6
|
export * as recordFormat from './record-format/index.js'
|
|
7
|
+
export * as recordMap from './record-map/index.js'
|
|
7
8
|
export * as sortKeys from './sort-keys/index.js'
|
|
8
9
|
export * as validation from './validation/index.js'
|
|
9
|
-
export * as flattenGetters from './flatten-getters/index.js'
|
|
@@ -2,8 +2,8 @@ export * as deepGetProperty from './deep-get-property/index.js'
|
|
|
2
2
|
export * as enums from './enums/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
|
|
5
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
6
6
|
export * as recordFormat from './record-format/index.js'
|
|
7
|
+
export * as recordMap from './record-map/index.js'
|
|
7
8
|
export * as sortKeys from './sort-keys/index.js'
|
|
8
9
|
export * as validation from './validation/index.js'
|
|
9
|
-
export * as flattenGetters from './flatten-getters/index.js'
|
package/agnostic/optim/index.js
CHANGED
|
@@ -2,7 +2,7 @@ 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
4
|
export * as parseTable from './parse-table/index.js'
|
|
5
|
+
export * as replaceAll from './replace-all/index.js'
|
|
5
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
6
7
|
export * as trim from './trim/index.js'
|
|
7
8
|
export * as splitTrim from './split-trim/index.js'
|
|
8
|
-
export * as replaceAll from './replace-all/index.js'
|
|
@@ -2,7 +2,7 @@ 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
4
|
export * as parseTable from './parse-table/index.js'
|
|
5
|
+
export * as replaceAll from './replace-all/index.js'
|
|
5
6
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
6
7
|
export * as trim from './trim/index.js'
|
|
7
8
|
export * as splitTrim from './split-trim/index.js'
|
|
8
|
-
export * as replaceAll from './replace-all/index.js'
|
package/agnostic/time/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as duration from './duration/index.js'
|
|
2
1
|
export * as dates from './dates/index.js'
|
|
3
|
-
export * as
|
|
2
|
+
export * as duration from './duration/index.js'
|
|
4
3
|
export * as transitions from './transitions/index.js'
|
|
4
|
+
export * as timeout from './timeout/index.js'
|
|
5
5
|
export * as wait from './wait/index.js'
|
package/agnostic/time/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as duration from './duration/index.js'
|
|
2
1
|
export * as dates from './dates/index.js'
|
|
3
|
-
export * as
|
|
2
|
+
export * as duration from './duration/index.js'
|
|
4
3
|
export * as transitions from './transitions/index.js'
|
|
4
|
+
export * as timeout from './timeout/index.js'
|
|
5
5
|
export * as wait from './wait/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,6 +1,6 @@
|
|
|
1
1
|
export * as beforeAfter from './BeforeAfter/index.js'
|
|
2
|
-
export * as disclaimer from './Disclaimer/index.js'
|
|
3
2
|
export * as clippable from './Clippable/index.js'
|
|
3
|
+
export * as disclaimer from './Disclaimer/index.js'
|
|
4
4
|
export * as drawer from './Drawer/index.js'
|
|
5
5
|
export * as eventListener from './EventListener/index.js'
|
|
6
6
|
export * as gallery from './Gallery/index.js'
|
|
@@ -13,8 +13,8 @@ export * as resizeObserver from './ResizeObserver/index.js'
|
|
|
13
13
|
export * as scrllgngn from './Scrllgngn/index.js'
|
|
14
14
|
export * as scrollListener from './ScrollListener/index.js'
|
|
15
15
|
export * as sequencer from './Sequencer/index.js'
|
|
16
|
-
export * as shadowRoot from './ShadowRoot/index.js'
|
|
17
16
|
export * as subtitles from './Subtitles/index.js'
|
|
17
|
+
export * as shadowRoot from './ShadowRoot/index.js'
|
|
18
18
|
export * as theatre from './Theatre/index.js'
|
|
19
19
|
export * as uiModule from './UIModule/index.js'
|
|
20
20
|
export * as video from './Video/index.js'
|
package/components/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as beforeAfter from './BeforeAfter/index.js'
|
|
2
|
-
export * as disclaimer from './Disclaimer/index.js'
|
|
3
2
|
export * as clippable from './Clippable/index.js'
|
|
3
|
+
export * as disclaimer from './Disclaimer/index.js'
|
|
4
4
|
export * as drawer from './Drawer/index.js'
|
|
5
5
|
export * as eventListener from './EventListener/index.js'
|
|
6
6
|
export * as gallery from './Gallery/index.js'
|
|
@@ -13,8 +13,8 @@ export * as resizeObserver from './ResizeObserver/index.js'
|
|
|
13
13
|
export * as scrllgngn from './Scrllgngn/index.js'
|
|
14
14
|
export * as scrollListener from './ScrollListener/index.js'
|
|
15
15
|
export * as sequencer from './Sequencer/index.js'
|
|
16
|
-
export * as shadowRoot from './ShadowRoot/index.js'
|
|
17
16
|
export * as subtitles from './Subtitles/index.js'
|
|
17
|
+
export * as shadowRoot from './ShadowRoot/index.js'
|
|
18
18
|
export * as theatre from './Theatre/index.js'
|
|
19
19
|
export * as uiModule from './UIModule/index.js'
|
|
20
20
|
export * as video from './Video/index.js'
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export declare const beforeAfter = "
|
|
2
|
-
export declare const clippable = "
|
|
3
|
-
export declare const disclaimer = "
|
|
4
|
-
export declare const drawer = "
|
|
5
|
-
export declare const eventListener = "
|
|
6
|
-
export declare const gallery = "
|
|
7
|
-
export declare const iframe = "
|
|
8
|
-
export declare const image = "
|
|
9
|
-
export declare const intersectionObserver = "
|
|
10
|
-
export declare const overlayer = "
|
|
11
|
-
export declare const paginator = "
|
|
12
|
-
export declare const resizeObserver = "
|
|
13
|
-
export declare const scrllgngn = "
|
|
14
|
-
export declare const scrollListener = "
|
|
15
|
-
export declare const sequencer = "
|
|
16
|
-
export declare const shadowRoot = "
|
|
17
|
-
export declare const subtitles = "
|
|
18
|
-
export declare const theatre = "
|
|
19
|
-
export declare const uiModule = "
|
|
20
|
-
export declare const video = "
|
|
21
|
-
export declare const videoWrapper = "
|
|
1
|
+
export declare const beforeAfter = "lm-before-after";
|
|
2
|
+
export declare const clippable = "lm-clippable";
|
|
3
|
+
export declare const disclaimer = "lm-disclaimer";
|
|
4
|
+
export declare const drawer = "lm-drawer";
|
|
5
|
+
export declare const eventListener = "lm-event-listener";
|
|
6
|
+
export declare const gallery = "lm-gallery";
|
|
7
|
+
export declare const iframe = "lm-iframe";
|
|
8
|
+
export declare const image = "lm-image";
|
|
9
|
+
export declare const intersectionObserver = "lm-intersection-observer";
|
|
10
|
+
export declare const overlayer = "lm-overlayer";
|
|
11
|
+
export declare const paginator = "lm-paginator";
|
|
12
|
+
export declare const resizeObserver = "lm-resize-observer";
|
|
13
|
+
export declare const scrllgngn = "lm-scrllgngn";
|
|
14
|
+
export declare const scrollListener = "lm-scroll-listener";
|
|
15
|
+
export declare const sequencer = "lm-sequencer";
|
|
16
|
+
export declare const shadowRoot = "lm-shadow-root";
|
|
17
|
+
export declare const subtitles = "lm-subtitles";
|
|
18
|
+
export declare const theatre = "lm-theatre";
|
|
19
|
+
export declare const uiModule = "lm-ui-module";
|
|
20
|
+
export declare const video = "lm-video";
|
|
21
|
+
export declare const videoWrapper = "lm-video-wrapper";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export const beforeAfter = '
|
|
2
|
-
export const clippable = '
|
|
3
|
-
export const disclaimer = '
|
|
4
|
-
export const drawer = '
|
|
5
|
-
export const eventListener = '
|
|
6
|
-
export const gallery = '
|
|
7
|
-
export const iframe = '
|
|
8
|
-
export const image = '
|
|
9
|
-
export const intersectionObserver = '
|
|
10
|
-
export const overlayer = '
|
|
11
|
-
export const paginator = '
|
|
12
|
-
export const resizeObserver = '
|
|
13
|
-
export const scrllgngn = '
|
|
14
|
-
export const scrollListener = '
|
|
15
|
-
export const sequencer = '
|
|
16
|
-
export const shadowRoot = '
|
|
17
|
-
export const subtitles = '
|
|
18
|
-
export const theatre = '
|
|
19
|
-
export const uiModule = '
|
|
20
|
-
export const video = '
|
|
21
|
-
export const videoWrapper = '
|
|
1
|
+
export const beforeAfter = 'lm-before-after';
|
|
2
|
+
export const clippable = 'lm-clippable';
|
|
3
|
+
export const disclaimer = 'lm-disclaimer';
|
|
4
|
+
export const drawer = 'lm-drawer';
|
|
5
|
+
export const eventListener = 'lm-event-listener';
|
|
6
|
+
export const gallery = 'lm-gallery';
|
|
7
|
+
export const iframe = 'lm-iframe';
|
|
8
|
+
export const image = 'lm-image';
|
|
9
|
+
export const intersectionObserver = 'lm-intersection-observer';
|
|
10
|
+
export const overlayer = 'lm-overlayer';
|
|
11
|
+
export const paginator = 'lm-paginator';
|
|
12
|
+
export const resizeObserver = 'lm-resize-observer';
|
|
13
|
+
export const scrllgngn = 'lm-scrllgngn';
|
|
14
|
+
export const scrollListener = 'lm-scroll-listener';
|
|
15
|
+
export const sequencer = 'lm-sequencer';
|
|
16
|
+
export const shadowRoot = 'lm-shadow-root';
|
|
17
|
+
export const subtitles = 'lm-subtitles';
|
|
18
|
+
export const theatre = 'lm-theatre';
|
|
19
|
+
export const uiModule = 'lm-ui-module';
|
|
20
|
+
export const video = 'lm-video';
|
|
21
|
+
export const videoWrapper = 'lm-video-wrapper';
|
|
@@ -3,5 +3,5 @@ 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'
|
|
6
|
-
export * as stat from './stat/index.js'
|
|
7
6
|
export * as upload from './upload/index.js'
|
|
7
|
+
export * as stat from './stat/index.js'
|
package/node/ftps/file/index.js
CHANGED
|
@@ -3,5 +3,5 @@ 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'
|
|
6
|
-
export * as stat from './stat/index.js'
|
|
7
6
|
export * as upload from './upload/index.js'
|
|
7
|
+
export * as stat from './stat/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'
|
package/node/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as awsS3 from './@aws-s3/index.js'
|
|
2
|
-
export * as designEdito from './@design-edito/index.js'
|
|
3
2
|
export * as express from './@express/index.js'
|
|
3
|
+
export * as designEdito from './@design-edito/index.js'
|
|
4
4
|
export * as googleCloud from './@google-cloud/index.js'
|
|
5
5
|
export * as cloudStorage from './cloud-storage/index.js'
|
|
6
6
|
export * as encryption from './encryption/index.js'
|
package/node/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as awsS3 from './@aws-s3/index.js'
|
|
2
|
-
export * as designEdito from './@design-edito/index.js'
|
|
3
2
|
export * as express from './@express/index.js'
|
|
3
|
+
export * as designEdito from './@design-edito/index.js'
|
|
4
4
|
export * as googleCloud from './@google-cloud/index.js'
|
|
5
5
|
export * as cloudStorage from './cloud-storage/index.js'
|
|
6
6
|
export * as encryption from './encryption/index.js'
|