@design-edito/tools 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agnostic/arrays/index.d.ts +2 -2
- package/agnostic/arrays/index.js +2 -2
- package/agnostic/colors/index.d.ts +4 -4
- package/agnostic/colors/index.js +4 -4
- package/agnostic/css/index.d.ts +2 -2
- package/agnostic/css/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +17 -17
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +17 -17
- 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 +2 -2
- package/agnostic/html/index.js +2 -2
- package/agnostic/index.d.ts +6 -6
- package/agnostic/index.js +6 -6
- package/agnostic/misc/index.d.ts +6 -6
- package/agnostic/misc/index.js +6 -6
- package/agnostic/misc/logs/logger/index.d.ts +2 -2
- package/agnostic/numbers/index.d.ts +3 -3
- package/agnostic/numbers/index.js +3 -3
- 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/random/index.d.ts +1 -1
- package/agnostic/random/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 +2 -2
- package/agnostic/strings/index.js +2 -2
- package/agnostic/time/index.d.ts +2 -2
- package/agnostic/time/index.js +2 -2
- package/components/EventListener/index.d.ts +10 -0
- package/components/EventListener/index.js +47 -0
- package/components/EventListener/styles.module.css +0 -0
- package/components/Input/index.d.ts +7 -0
- package/components/Input/index.js +29 -0
- package/components/Input/styles.module.css +0 -0
- package/components/IntersectionObserver/index.d.ts +20 -0
- package/components/IntersectionObserver/index.js +79 -0
- package/components/IntersectionObserver/styles.module.css +0 -0
- package/components/index.d.ts +3 -1
- package/components/index.js +3 -1
- package/components/public-classnames.d.ts +3 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/node/@aws-s3/storage/directory/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/index.js +1 -1
- package/node/@aws-s3/storage/file/index.d.ts +2 -2
- package/node/@aws-s3/storage/file/index.js +2 -2
- package/node/@aws-s3/storage/index.d.ts +1 -1
- package/node/@aws-s3/storage/index.js +1 -1
- package/node/@google-cloud/storage/directory/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/index.js +1 -1
- package/node/@google-cloud/storage/file/index.d.ts +6 -6
- package/node/@google-cloud/storage/file/index.js +6 -6
- 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 +3 -3
- package/node/cloud-storage/operations/index.js +3 -3
- package/node/files/index.d.ts +1 -1
- package/node/files/index.js +1 -1
- package/node/ftps/file/index.d.ts +3 -3
- package/node/ftps/file/index.js +3 -3
- package/node/images/index.d.ts +1 -1
- package/node/images/index.js +1 -1
- package/node/images/transform/operations/index.d.ts +4 -4
- package/node/images/transform/operations/index.js +4 -4
- package/node/index.d.ts +3 -3
- package/node/index.js +3 -3
- package/node/sftp/directory/index.d.ts +1 -1
- package/node/sftp/directory/index.js +1 -1
- package/node/sftp/file/index.d.ts +1 -1
- package/node/sftp/file/index.js +1 -1
- package/package.json +24 -24
- package/components/Comp/index.d.ts +0 -1
- package/components/Comp/index.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as findDuplicates from './find-duplicates/index.js'
|
|
2
1
|
export * as dedupe from './dedupe/index.js'
|
|
3
|
-
export * as
|
|
2
|
+
export * as findDuplicates from './find-duplicates/index.js'
|
|
4
3
|
export * as isArrayOf from './is-array-of/index.js'
|
|
5
4
|
export * as randomPick from './random-pick/index.js'
|
|
6
5
|
export * as shuffle from './shuffle/index.js'
|
|
6
|
+
export * as make from './make/index.js'
|
package/agnostic/arrays/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as findDuplicates from './find-duplicates/index.js'
|
|
2
1
|
export * as dedupe from './dedupe/index.js'
|
|
3
|
-
export * as
|
|
2
|
+
export * as findDuplicates from './find-duplicates/index.js'
|
|
4
3
|
export * as isArrayOf from './is-array-of/index.js'
|
|
5
4
|
export * as randomPick from './random-pick/index.js'
|
|
6
5
|
export * as shuffle from './shuffle/index.js'
|
|
6
|
+
export * as make from './make/index.js'
|
|
@@ -2,11 +2,11 @@ export * as channels from './channels/index.js'
|
|
|
2
2
|
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
|
-
export * as grayscale from './grayscale/index.js'
|
|
6
5
|
export * as invert from './invert/index.js'
|
|
6
|
+
export * as grayscale from './grayscale/index.js'
|
|
7
|
+
export * as lerp from './lerp/index.js'
|
|
7
8
|
export * as luminance from './luminance/index.js'
|
|
8
|
-
export * as rotate from './rotate/index.js'
|
|
9
9
|
export * as palette from './palette/index.js'
|
|
10
|
-
export * as typechecks from './typechecks/index.js'
|
|
11
|
-
export * as lerp from './lerp/index.js'
|
|
12
10
|
export * as tidy from './tidy/index.js'
|
|
11
|
+
export * as typechecks from './typechecks/index.js'
|
|
12
|
+
export * as rotate from './rotate/index.js'
|
package/agnostic/colors/index.js
CHANGED
|
@@ -2,11 +2,11 @@ export * as channels from './channels/index.js'
|
|
|
2
2
|
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
|
-
export * as grayscale from './grayscale/index.js'
|
|
6
5
|
export * as invert from './invert/index.js'
|
|
6
|
+
export * as grayscale from './grayscale/index.js'
|
|
7
|
+
export * as lerp from './lerp/index.js'
|
|
7
8
|
export * as luminance from './luminance/index.js'
|
|
8
|
-
export * as rotate from './rotate/index.js'
|
|
9
9
|
export * as palette from './palette/index.js'
|
|
10
|
-
export * as typechecks from './typechecks/index.js'
|
|
11
|
-
export * as lerp from './lerp/index.js'
|
|
12
10
|
export * as tidy from './tidy/index.js'
|
|
11
|
+
export * as typechecks from './typechecks/index.js'
|
|
12
|
+
export * as rotate from './rotate/index.js'
|
package/agnostic/css/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as clss from './clss/index.js'
|
|
2
|
-
export * as
|
|
2
|
+
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
3
3
|
export * as isValidCssClassName from './is-valid-css-class-name/index.js'
|
|
4
4
|
export * as scale from './scale/index.js'
|
|
5
|
+
export * as bem from './bem/index.js'
|
|
5
6
|
export * as stylesSet from './styles-set/index.js'
|
|
6
|
-
export * as generateNiceColor from './generate-nice-color/index.js'
|
package/agnostic/css/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as clss from './clss/index.js'
|
|
2
|
-
export * as
|
|
2
|
+
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
3
3
|
export * as isValidCssClassName from './is-valid-css-class-name/index.js'
|
|
4
4
|
export * as scale from './scale/index.js'
|
|
5
|
+
export * as bem from './bem/index.js'
|
|
5
6
|
export * as stylesSet from './styles-set/index.js'
|
|
6
|
-
export * as generateNiceColor from './generate-nice-color/index.js'
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
export * as add from './add/index.js'
|
|
2
|
-
export * as and from './and/index.js'
|
|
3
2
|
export * as addclass from './addclass/index.js'
|
|
4
|
-
export * as
|
|
3
|
+
export * as and from './and/index.js'
|
|
5
4
|
export * as at from './at/index.js'
|
|
5
|
+
export * as append from './append/index.js'
|
|
6
6
|
export * as call from './call/index.js'
|
|
7
7
|
export * as clone from './clone/index.js'
|
|
8
8
|
export * as deleteproperties from './deleteproperties/index.js'
|
|
9
|
-
export * as getattribute from './getattribute/index.js'
|
|
10
9
|
export * as equals from './equals/index.js'
|
|
10
|
+
export * as getattribute from './getattribute/index.js'
|
|
11
|
+
export * as getproperties from './getproperties/index.js'
|
|
11
12
|
export * as getproperty from './getproperty/index.js'
|
|
13
|
+
export * as hjstringify from './hjstringify/index.js'
|
|
12
14
|
export * as hjparse from './hjparse/index.js'
|
|
13
|
-
export * as getproperties from './getproperties/index.js'
|
|
14
15
|
export * as if from './if/index.js'
|
|
15
16
|
export * as initialize from './initialize/index.js'
|
|
16
|
-
export * as hjstringify from './hjstringify/index.js'
|
|
17
|
-
export * as length from './length/index.js'
|
|
18
17
|
export * as join from './join/index.js'
|
|
19
|
-
export * as
|
|
18
|
+
export * as length from './length/index.js'
|
|
20
19
|
export * as negate from './negate/index.js'
|
|
20
|
+
export * as map from './map/index.js'
|
|
21
21
|
export * as notrailing from './notrailing/index.js'
|
|
22
22
|
export * as or from './or/index.js'
|
|
23
23
|
export * as pickrandom from './pickrandom/index.js'
|
|
24
24
|
export * as print from './print/index.js'
|
|
25
|
-
export * as populate from './populate/index.js'
|
|
26
25
|
export * as push from './push/index.js'
|
|
26
|
+
export * as populate from './populate/index.js'
|
|
27
27
|
export * as pusheach from './pusheach/index.js'
|
|
28
28
|
export * as recordtoarray from './recordtoarray/index.js'
|
|
29
29
|
export * as removeclass from './removeclass/index.js'
|
|
30
|
-
export * as removeattribute from './removeattribute/index.js'
|
|
31
30
|
export * as renameproperty from './renameproperty/index.js'
|
|
31
|
+
export * as replace from './replace/index.js'
|
|
32
32
|
export * as select from './select/index.js'
|
|
33
33
|
export * as set from './set/index.js'
|
|
34
|
-
export * as setattribute from './setattribute/index.js'
|
|
35
34
|
export * as setproperty from './setproperty/index.js'
|
|
36
|
-
export * as
|
|
35
|
+
export * as setattribute from './setattribute/index.js'
|
|
37
36
|
export * as split from './split/index.js'
|
|
38
37
|
export * as spread from './spread/index.js'
|
|
39
38
|
export * as toarray from './toarray/index.js'
|
|
40
39
|
export * as toboolean from './toboolean/index.js'
|
|
40
|
+
export * as sorton from './sorton/index.js'
|
|
41
|
+
export * as toelement from './toelement/index.js'
|
|
42
|
+
export * as removeattribute from './removeattribute/index.js'
|
|
41
43
|
export * as toggleclass from './toggleclass/index.js'
|
|
42
44
|
export * as tonodelist from './tonodelist/index.js'
|
|
43
|
-
export * as toelement from './toelement/index.js'
|
|
44
|
-
export * as replace from './replace/index.js'
|
|
45
|
-
export * as tonumber from './tonumber/index.js'
|
|
46
45
|
export * as tonull from './tonull/index.js'
|
|
46
|
+
export * as tonumber from './tonumber/index.js'
|
|
47
|
+
export * as torecord from './torecord/index.js'
|
|
47
48
|
export * as toref from './toref/index.js'
|
|
48
|
-
export * as tostring from './tostring/index.js'
|
|
49
|
-
export * as transformselected from './transformselected/index.js'
|
|
50
49
|
export * as totext from './totext/index.js'
|
|
51
|
-
export * as
|
|
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'
|
|
3
2
|
export * as addclass from './addclass/index.js'
|
|
4
|
-
export * as
|
|
3
|
+
export * as and from './and/index.js'
|
|
5
4
|
export * as at from './at/index.js'
|
|
5
|
+
export * as append from './append/index.js'
|
|
6
6
|
export * as call from './call/index.js'
|
|
7
7
|
export * as clone from './clone/index.js'
|
|
8
8
|
export * as deleteproperties from './deleteproperties/index.js'
|
|
9
|
-
export * as getattribute from './getattribute/index.js'
|
|
10
9
|
export * as equals from './equals/index.js'
|
|
10
|
+
export * as getattribute from './getattribute/index.js'
|
|
11
|
+
export * as getproperties from './getproperties/index.js'
|
|
11
12
|
export * as getproperty from './getproperty/index.js'
|
|
13
|
+
export * as hjstringify from './hjstringify/index.js'
|
|
12
14
|
export * as hjparse from './hjparse/index.js'
|
|
13
|
-
export * as getproperties from './getproperties/index.js'
|
|
14
15
|
export * as if from './if/index.js'
|
|
15
16
|
export * as initialize from './initialize/index.js'
|
|
16
|
-
export * as hjstringify from './hjstringify/index.js'
|
|
17
|
-
export * as length from './length/index.js'
|
|
18
17
|
export * as join from './join/index.js'
|
|
19
|
-
export * as
|
|
18
|
+
export * as length from './length/index.js'
|
|
20
19
|
export * as negate from './negate/index.js'
|
|
20
|
+
export * as map from './map/index.js'
|
|
21
21
|
export * as notrailing from './notrailing/index.js'
|
|
22
22
|
export * as or from './or/index.js'
|
|
23
23
|
export * as pickrandom from './pickrandom/index.js'
|
|
24
24
|
export * as print from './print/index.js'
|
|
25
|
-
export * as populate from './populate/index.js'
|
|
26
25
|
export * as push from './push/index.js'
|
|
26
|
+
export * as populate from './populate/index.js'
|
|
27
27
|
export * as pusheach from './pusheach/index.js'
|
|
28
28
|
export * as recordtoarray from './recordtoarray/index.js'
|
|
29
29
|
export * as removeclass from './removeclass/index.js'
|
|
30
|
-
export * as removeattribute from './removeattribute/index.js'
|
|
31
30
|
export * as renameproperty from './renameproperty/index.js'
|
|
31
|
+
export * as replace from './replace/index.js'
|
|
32
32
|
export * as select from './select/index.js'
|
|
33
33
|
export * as set from './set/index.js'
|
|
34
|
-
export * as setattribute from './setattribute/index.js'
|
|
35
34
|
export * as setproperty from './setproperty/index.js'
|
|
36
|
-
export * as
|
|
35
|
+
export * as setattribute from './setattribute/index.js'
|
|
37
36
|
export * as split from './split/index.js'
|
|
38
37
|
export * as spread from './spread/index.js'
|
|
39
38
|
export * as toarray from './toarray/index.js'
|
|
40
39
|
export * as toboolean from './toboolean/index.js'
|
|
40
|
+
export * as sorton from './sorton/index.js'
|
|
41
|
+
export * as toelement from './toelement/index.js'
|
|
42
|
+
export * as removeattribute from './removeattribute/index.js'
|
|
41
43
|
export * as toggleclass from './toggleclass/index.js'
|
|
42
44
|
export * as tonodelist from './tonodelist/index.js'
|
|
43
|
-
export * as toelement from './toelement/index.js'
|
|
44
|
-
export * as replace from './replace/index.js'
|
|
45
|
-
export * as tonumber from './tonumber/index.js'
|
|
46
45
|
export * as tonull from './tonull/index.js'
|
|
46
|
+
export * as tonumber from './tonumber/index.js'
|
|
47
|
+
export * as torecord from './torecord/index.js'
|
|
47
48
|
export * as toref from './toref/index.js'
|
|
48
|
-
export * as tostring from './tostring/index.js'
|
|
49
|
-
export * as transformselected from './transformselected/index.js'
|
|
50
49
|
export * as totext from './totext/index.js'
|
|
51
|
-
export * as
|
|
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,14 +1,14 @@
|
|
|
1
|
-
export * as any from './any/index.js'
|
|
2
1
|
export * as array from './array/index.js'
|
|
2
|
+
export * as element from './element/index.js'
|
|
3
3
|
export * as boolean from './boolean/index.js'
|
|
4
4
|
export * as get from './get/index.js'
|
|
5
5
|
export * as global from './global/index.js'
|
|
6
6
|
export * as guess from './guess/index.js'
|
|
7
7
|
export * as nodelist from './nodelist/index.js'
|
|
8
|
-
export * as
|
|
8
|
+
export * as any from './any/index.js'
|
|
9
9
|
export * as number from './number/index.js'
|
|
10
|
+
export * as null from './null/index.js'
|
|
10
11
|
export * as record from './record/index.js'
|
|
11
12
|
export * as ref from './ref/index.js'
|
|
12
|
-
export * as string from './string/index.js'
|
|
13
|
-
export * as element from './element/index.js'
|
|
14
13
|
export * as text from './text/index.js'
|
|
14
|
+
export * as string from './string/index.js'
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * as any from './any/index.js'
|
|
2
1
|
export * as array from './array/index.js'
|
|
2
|
+
export * as element from './element/index.js'
|
|
3
3
|
export * as boolean from './boolean/index.js'
|
|
4
4
|
export * as get from './get/index.js'
|
|
5
5
|
export * as global from './global/index.js'
|
|
6
6
|
export * as guess from './guess/index.js'
|
|
7
7
|
export * as nodelist from './nodelist/index.js'
|
|
8
|
-
export * as
|
|
8
|
+
export * as any from './any/index.js'
|
|
9
9
|
export * as number from './number/index.js'
|
|
10
|
+
export * as null from './null/index.js'
|
|
10
11
|
export * as record from './record/index.js'
|
|
11
12
|
export * as ref from './ref/index.js'
|
|
12
|
-
export * as string from './string/index.js'
|
|
13
|
-
export * as element from './element/index.js'
|
|
14
13
|
export * as text from './text/index.js'
|
|
14
|
+
export * as string from './string/index.js'
|
package/agnostic/html/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
2
1
|
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
3
2
|
export * as hyperJson from './hyper-json/index.js'
|
|
4
3
|
export * as insertNode from './insert-node/index.js'
|
|
5
4
|
export * as placeholders from './placeholders/index.js'
|
|
6
5
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
7
|
-
export * as stringToNodes from './string-to-nodes/index.js'
|
|
8
6
|
export * as selectorToElement from './selector-to-element/index.js'
|
|
7
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
8
|
+
export * as stringToNodes from './string-to-nodes/index.js'
|
package/agnostic/html/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
2
1
|
export * as getNodeAncestors from './get-node-ancestors/index.js'
|
|
3
2
|
export * as hyperJson from './hyper-json/index.js'
|
|
4
3
|
export * as insertNode from './insert-node/index.js'
|
|
5
4
|
export * as placeholders from './placeholders/index.js'
|
|
6
5
|
export * as replaceInElement from './replace-in-element/index.js'
|
|
7
|
-
export * as stringToNodes from './string-to-nodes/index.js'
|
|
8
6
|
export * as selectorToElement from './selector-to-element/index.js'
|
|
7
|
+
export * as getPositionInsideParent from './get-position-inside-parent/index.js'
|
|
8
|
+
export * as stringToNodes from './string-to-nodes/index.js'
|
package/agnostic/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * as booleans from './booleans/index.js'
|
|
2
1
|
export * as arrays from './arrays/index.js'
|
|
2
|
+
export * as booleans from './booleans/index.js'
|
|
3
3
|
export * as colors from './colors/index.js'
|
|
4
|
-
export * as css from './css/index.js'
|
|
5
|
-
export * as errors from './errors/index.js'
|
|
6
4
|
export * as html from './html/index.js'
|
|
7
|
-
export * as
|
|
5
|
+
export * as errors from './errors/index.js'
|
|
6
|
+
export * as misc from './misc/index.js'
|
|
7
|
+
export * as css from './css/index.js'
|
|
8
|
+
export * as objects from './objects/index.js'
|
|
8
9
|
export * as optim from './optim/index.js'
|
|
9
10
|
export * as random from './random/index.js'
|
|
10
|
-
export * as misc from './misc/index.js'
|
|
11
11
|
export * as regexps from './regexps/index.js'
|
|
12
12
|
export * as sanitization from './sanitization/index.js'
|
|
13
|
-
export * as
|
|
13
|
+
export * as numbers from './numbers/index.js'
|
|
14
14
|
export * as time from './time/index.js'
|
|
15
15
|
export * as typescript from './typescript/index.js'
|
|
16
16
|
export * as strings from './strings/index.js'
|
package/agnostic/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * as booleans from './booleans/index.js'
|
|
2
1
|
export * as arrays from './arrays/index.js'
|
|
2
|
+
export * as booleans from './booleans/index.js'
|
|
3
3
|
export * as colors from './colors/index.js'
|
|
4
|
-
export * as css from './css/index.js'
|
|
5
|
-
export * as errors from './errors/index.js'
|
|
6
4
|
export * as html from './html/index.js'
|
|
7
|
-
export * as
|
|
5
|
+
export * as errors from './errors/index.js'
|
|
6
|
+
export * as misc from './misc/index.js'
|
|
7
|
+
export * as css from './css/index.js'
|
|
8
|
+
export * as objects from './objects/index.js'
|
|
8
9
|
export * as optim from './optim/index.js'
|
|
9
10
|
export * as random from './random/index.js'
|
|
10
|
-
export * as misc from './misc/index.js'
|
|
11
11
|
export * as regexps from './regexps/index.js'
|
|
12
12
|
export * as sanitization from './sanitization/index.js'
|
|
13
|
-
export * as
|
|
13
|
+
export * as numbers from './numbers/index.js'
|
|
14
14
|
export * as time from './time/index.js'
|
|
15
15
|
export * as typescript from './typescript/index.js'
|
|
16
16
|
export * as strings from './strings/index.js'
|
package/agnostic/misc/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * as assert from './assert/index.js'
|
|
2
1
|
export * as connection from './connection/index.js'
|
|
3
|
-
export * as crossenv from './crossenv/index.js'
|
|
4
|
-
export * as dataSize from './data-size/index.js'
|
|
5
|
-
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
6
2
|
export * as cast from './cast/index.js'
|
|
3
|
+
export * as assert from './assert/index.js'
|
|
4
|
+
export * as crawler from './crawler/index.js'
|
|
5
|
+
export * as dataSize from './data-size/index.js'
|
|
7
6
|
export * as isNullish from './is-nullish/index.js'
|
|
7
|
+
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
8
8
|
export * as logs from './logs/index.js'
|
|
9
9
|
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
10
|
-
export * as
|
|
11
|
-
export * as crawler from './crawler/index.js'
|
|
10
|
+
export * as crossenv from './crossenv/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 assert from './assert/index.js'
|
|
2
1
|
export * as connection from './connection/index.js'
|
|
3
|
-
export * as crossenv from './crossenv/index.js'
|
|
4
|
-
export * as dataSize from './data-size/index.js'
|
|
5
|
-
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
6
2
|
export * as cast from './cast/index.js'
|
|
3
|
+
export * as assert from './assert/index.js'
|
|
4
|
+
export * as crawler from './crawler/index.js'
|
|
5
|
+
export * as dataSize from './data-size/index.js'
|
|
7
6
|
export * as isNullish from './is-nullish/index.js'
|
|
7
|
+
export * as isConstructorFunction from './is-constructor-function/index.js'
|
|
8
8
|
export * as logs from './logs/index.js'
|
|
9
9
|
export * as loremIpsum from './lorem-ipsum/index.js'
|
|
10
|
-
export * as
|
|
11
|
-
export * as crawler from './crawler/index.js'
|
|
10
|
+
export * as crossenv from './crossenv/index.js'
|
|
12
11
|
export * as outcome from './outcome/index.js'
|
|
12
|
+
export * as normalizeExtension from './normalize-extension/index.js'
|
|
@@ -31,12 +31,12 @@ declare class Log<T extends ConsoleMethod = ConsoleMethod> {
|
|
|
31
31
|
export declare class Logger {
|
|
32
32
|
_private_threads: Map<string, Log[]>;
|
|
33
33
|
constructor();
|
|
34
|
-
dir(thread
|
|
34
|
+
dir(thread?: string, ...args: ConsoleMethodsParams['dir']): void;
|
|
35
35
|
error(thread?: string, ...args: ConsoleMethodsParams['error']): void;
|
|
36
36
|
group(thread?: string, ...args: ConsoleMethodsParams['group']): void;
|
|
37
37
|
groupEnd(thread?: string, ...args: ConsoleMethodsParams['groupEnd']): void;
|
|
38
38
|
log(thread?: string, ...args: ConsoleMethodsParams['log']): void;
|
|
39
|
-
table(thread
|
|
39
|
+
table(thread?: string, ...args: ConsoleMethodsParams['table']): void;
|
|
40
40
|
warn(thread?: string, ...args: ConsoleMethodsParams['warn']): void;
|
|
41
41
|
setLog<T extends ConsoleMethod>(threadName: string, type: T, data: ConsoleMethodsParams[T]): this;
|
|
42
42
|
print(this: Logger, threadFilter?: string, withStack?: boolean): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as absoluteModulo from './absolute-modulo/index.js'
|
|
2
|
-
export * as
|
|
2
|
+
export * as clamp from './clamp/index.js'
|
|
3
3
|
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
4
|
-
export * as
|
|
4
|
+
export * as approximateRational from './approximate-rational/index.js'
|
|
5
5
|
export * as round from './round/index.js'
|
|
6
|
-
export * as
|
|
6
|
+
export * as interpolate from './interpolate/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as absoluteModulo from './absolute-modulo/index.js'
|
|
2
|
-
export * as
|
|
2
|
+
export * as clamp from './clamp/index.js'
|
|
3
3
|
export * as geometricProgressions from './geometric-progressions/index.js'
|
|
4
|
-
export * as
|
|
4
|
+
export * as approximateRational from './approximate-rational/index.js'
|
|
5
5
|
export * as round from './round/index.js'
|
|
6
|
-
export * as
|
|
6
|
+
export * as interpolate from './interpolate/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * as deepGetProperty from './deep-get-property/index.js'
|
|
2
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
2
3
|
export * as isObject from './is-object/index.js'
|
|
3
|
-
export * as enums from './enums/index.js'
|
|
4
4
|
export * as isRecord from './is-record/index.js'
|
|
5
|
-
export * as flattenGetters from './flatten-getters/index.js'
|
|
6
5
|
export * as recordFormat from './record-format/index.js'
|
|
7
6
|
export * as validation from './validation/index.js'
|
|
8
7
|
export * as recordMap from './record-map/index.js'
|
|
8
|
+
export * as enums from './enums/index.js'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * as deepGetProperty from './deep-get-property/index.js'
|
|
2
|
+
export * as flattenGetters from './flatten-getters/index.js'
|
|
2
3
|
export * as isObject from './is-object/index.js'
|
|
3
|
-
export * as enums from './enums/index.js'
|
|
4
4
|
export * as isRecord from './is-record/index.js'
|
|
5
|
-
export * as flattenGetters from './flatten-getters/index.js'
|
|
6
5
|
export * as recordFormat from './record-format/index.js'
|
|
7
6
|
export * as validation from './validation/index.js'
|
|
8
7
|
export * as recordMap from './record-map/index.js'
|
|
8
|
+
export * as enums from './enums/index.js'
|
package/agnostic/optim/index.js
CHANGED
package/agnostic/random/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as charCodes from './char-codes/index.js'
|
|
2
2
|
export * as matches from './matches/index.js'
|
|
3
|
-
export * as normalizeIndent from './normalize-indent/index.js'
|
|
4
|
-
export * as parseTable from './parse-table/index.js'
|
|
5
3
|
export * as replaceAll from './replace-all/index.js'
|
|
6
4
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
7
5
|
export * as trim from './trim/index.js'
|
|
6
|
+
export * as normalizeIndent from './normalize-indent/index.js'
|
|
7
|
+
export * as parseTable from './parse-table/index.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as charCodes from './char-codes/index.js'
|
|
2
2
|
export * as matches from './matches/index.js'
|
|
3
|
-
export * as normalizeIndent from './normalize-indent/index.js'
|
|
4
|
-
export * as parseTable from './parse-table/index.js'
|
|
5
3
|
export * as replaceAll from './replace-all/index.js'
|
|
6
4
|
export * as toAlphanum from './to-alphanum/index.js'
|
|
7
5
|
export * as trim from './trim/index.js'
|
|
6
|
+
export * as normalizeIndent from './normalize-indent/index.js'
|
|
7
|
+
export * as parseTable from './parse-table/index.js'
|
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'
|
|
3
2
|
export * as timeout from './timeout/index.js'
|
|
4
|
-
export * as wait from './wait/index.js'
|
|
5
3
|
export * as transitions from './transitions/index.js'
|
|
4
|
+
export * as wait from './wait/index.js'
|
|
5
|
+
export * as dates from './dates/index.js'
|
package/agnostic/time/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as dates from './dates/index.js'
|
|
2
1
|
export * as duration from './duration/index.js'
|
|
3
2
|
export * as timeout from './timeout/index.js'
|
|
4
|
-
export * as wait from './wait/index.js'
|
|
5
3
|
export * as transitions from './transitions/index.js'
|
|
4
|
+
export * as wait from './wait/index.js'
|
|
5
|
+
export * as dates from './dates/index.js'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export type Props = {
|
|
3
|
+
className?: string;
|
|
4
|
+
type?: string | string[];
|
|
5
|
+
targetSelector?: string;
|
|
6
|
+
onEvent?: (e: Event) => void;
|
|
7
|
+
content?: ReactNode;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export declare const EventListenerComponent: ({ className, type, targetSelector, onEvent, content, children }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// src/components/EventListener/index.tsx
|
|
2
|
+
import {
|
|
3
|
+
useRef,
|
|
4
|
+
useEffect
|
|
5
|
+
} from "react";
|
|
6
|
+
import { clss } from "../../agnostic/css/clss/index.js";
|
|
7
|
+
import { isNotFalsy } from "../../agnostic/booleans/is-falsy/index.js";
|
|
8
|
+
import { eventListener } from "../public-classnames.js";
|
|
9
|
+
import cssModule from "./styles.module.css";
|
|
10
|
+
import { jsxs } from "react/jsx-runtime";
|
|
11
|
+
var EventListenerComponent = ({
|
|
12
|
+
className,
|
|
13
|
+
type,
|
|
14
|
+
targetSelector,
|
|
15
|
+
onEvent,
|
|
16
|
+
content,
|
|
17
|
+
children
|
|
18
|
+
}) => {
|
|
19
|
+
const rootRef = useRef(null);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
const root = rootRef.current;
|
|
22
|
+
if (onEvent === void 0 || type === void 0 || root === null) return;
|
|
23
|
+
const typeArr = Array.isArray(type) ? type : [type];
|
|
24
|
+
const elements = Array.from(targetSelector === void 0 ? [root] : root.querySelectorAll(targetSelector));
|
|
25
|
+
elements.forEach(
|
|
26
|
+
(elt) => typeArr.forEach((type2) => {
|
|
27
|
+
elt.addEventListener(type2, onEvent);
|
|
28
|
+
})
|
|
29
|
+
);
|
|
30
|
+
return () => {
|
|
31
|
+
elements.forEach(
|
|
32
|
+
(elt) => typeArr.forEach((type2) => {
|
|
33
|
+
elt.removeEventListener(type2, onEvent);
|
|
34
|
+
})
|
|
35
|
+
);
|
|
36
|
+
};
|
|
37
|
+
}, [targetSelector, type, onEvent]);
|
|
38
|
+
const c = clss(eventListener, { cssModule });
|
|
39
|
+
const wrapperClassName = [c(null), className].filter(isNotFalsy).join(" ");
|
|
40
|
+
return /* @__PURE__ */ jsxs("span", { className: wrapperClassName, ref: rootRef, children: [
|
|
41
|
+
children,
|
|
42
|
+
content
|
|
43
|
+
] });
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
EventListenerComponent
|
|
47
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InputHTMLAttributes, JSX } from 'react';
|
|
2
|
+
export type Props = InputHTMLAttributes<HTMLInputElement> & {
|
|
3
|
+
name: string;
|
|
4
|
+
label?: string | JSX.Element;
|
|
5
|
+
labelAfter?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const Input: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// src/components/Input/index.tsx
|
|
2
|
+
import { clss } from "../../agnostic/css/clss/index.js";
|
|
3
|
+
import { randomHash } from "../../agnostic/random/uuid/index.js";
|
|
4
|
+
import * as classes from "../public-classnames.js";
|
|
5
|
+
import styles from "./styles.module.css";
|
|
6
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
var Input = (props) => {
|
|
8
|
+
const { label, labelAfter } = props;
|
|
9
|
+
delete props.label;
|
|
10
|
+
delete props.labelAfter;
|
|
11
|
+
const c = clss([classes.input], { cssModule: styles });
|
|
12
|
+
const inputClassName = c(null, { alt: true });
|
|
13
|
+
const inputId = props.id ?? randomHash(8);
|
|
14
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
15
|
+
label !== void 0 && labelAfter !== true && /* @__PURE__ */ jsx("label", { children: label }),
|
|
16
|
+
/* @__PURE__ */ jsx(
|
|
17
|
+
"input",
|
|
18
|
+
{
|
|
19
|
+
...props,
|
|
20
|
+
className: inputClassName,
|
|
21
|
+
id: inputId
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
label !== void 0 && labelAfter === true && /* @__PURE__ */ jsx("label", { children: label })
|
|
25
|
+
] });
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
Input
|
|
29
|
+
};
|
|
File without changes
|