@design-edito/tools 0.4.19 → 0.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/agnostic/arrays/index.d.ts +1 -1
  2. package/agnostic/arrays/index.js +1 -1
  3. package/agnostic/colors/index.d.ts +2 -2
  4. package/agnostic/colors/index.js +2 -2
  5. package/agnostic/css/index.d.ts +1 -1
  6. package/agnostic/css/index.js +1 -1
  7. package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +17 -17
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +17 -17
  9. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +3 -3
  10. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +3 -3
  11. package/agnostic/html/index.d.ts +3 -3
  12. package/agnostic/html/index.js +3 -3
  13. package/agnostic/index.d.ts +1 -1
  14. package/agnostic/index.js +1 -1
  15. package/agnostic/misc/index.d.ts +3 -3
  16. package/agnostic/misc/index.js +3 -3
  17. package/agnostic/misc/logs/index.d.ts +1 -1
  18. package/agnostic/misc/logs/index.js +1 -1
  19. package/agnostic/numbers/index.d.ts +1 -1
  20. package/agnostic/numbers/index.js +1 -1
  21. package/agnostic/objects/index.d.ts +1 -1
  22. package/agnostic/objects/index.js +1 -1
  23. package/agnostic/optim/index.d.ts +1 -1
  24. package/agnostic/optim/index.js +1 -1
  25. package/agnostic/sanitization/index.d.ts +1 -1
  26. package/agnostic/sanitization/index.js +1 -1
  27. package/agnostic/strings/index.d.ts +2 -2
  28. package/agnostic/strings/index.js +2 -2
  29. package/agnostic/time/index.d.ts +2 -2
  30. package/agnostic/time/index.js +2 -2
  31. package/components/Button/index.d.ts +7 -0
  32. package/components/Button/index.js +10 -0
  33. package/components/Button/styles.module.css +0 -0
  34. package/components/Input/index.d.ts +7 -0
  35. package/components/Input/index.js +14 -0
  36. package/components/Input/styles.module.css +0 -0
  37. package/components/JsonEditor/index.d.ts +20 -0
  38. package/components/JsonEditor/index.js +159 -0
  39. package/components/JsonEditor/styles.module.css +0 -0
  40. package/components/Select/index.d.ts +7 -0
  41. package/components/Select/index.js +14 -0
  42. package/components/Select/styles.module.css +0 -0
  43. package/components/Textarea/index.d.ts +7 -0
  44. package/components/Textarea/index.js +14 -0
  45. package/components/Textarea/styles.module.css +0 -0
  46. package/components/index.d.ts +7 -2
  47. package/components/index.js +7 -2
  48. package/components/public-classnames.d.ts +5 -0
  49. package/components/public-classnames.js +5 -0
  50. package/node/@google-cloud/storage/file/index.d.ts +1 -1
  51. package/node/@google-cloud/storage/file/index.js +1 -1
  52. package/node/ftps/file/index.d.ts +1 -1
  53. package/node/ftps/file/index.js +1 -1
  54. package/node/images/index.d.ts +1 -1
  55. package/node/images/index.js +1 -1
  56. package/node/images/transform/operations/index.d.ts +1 -1
  57. package/node/images/transform/operations/index.js +1 -1
  58. package/node/index.d.ts +1 -1
  59. package/node/index.js +1 -1
  60. package/package.json +36 -1
@@ -1,6 +1,6 @@
1
1
  export * as dedupe from './dedupe/index.js'
2
2
  export * as findDuplicates from './find-duplicates/index.js'
3
3
  export * as isArrayOf from './is-array-of/index.js'
4
- export * as make from './make/index.js'
5
4
  export * as randomPick from './random-pick/index.js'
5
+ export * as make from './make/index.js'
6
6
  export * as shuffle from './shuffle/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as dedupe from './dedupe/index.js'
2
2
  export * as findDuplicates from './find-duplicates/index.js'
3
3
  export * as isArrayOf from './is-array-of/index.js'
4
- export * as make from './make/index.js'
5
4
  export * as randomPick from './random-pick/index.js'
5
+ export * as make from './make/index.js'
6
6
  export * as shuffle from './shuffle/index.js'
@@ -1,7 +1,6 @@
1
- export * as channels from './channels/index.js'
2
1
  export * as contrast from './contrast/index.js'
2
+ export * as channels from './channels/index.js'
3
3
  export * as convert from './convert/index.js'
4
- export * as distance from './distance/index.js'
5
4
  export * as grayscale from './grayscale/index.js'
6
5
  export * as invert from './invert/index.js'
7
6
  export * as lerp from './lerp/index.js'
@@ -10,3 +9,4 @@ export * as palette from './palette/index.js'
10
9
  export * as rotate from './rotate/index.js'
11
10
  export * as tidy from './tidy/index.js'
12
11
  export * as typechecks from './typechecks/index.js'
12
+ export * as distance from './distance/index.js'
@@ -1,7 +1,6 @@
1
- export * as channels from './channels/index.js'
2
1
  export * as contrast from './contrast/index.js'
2
+ export * as channels from './channels/index.js'
3
3
  export * as convert from './convert/index.js'
4
- export * as distance from './distance/index.js'
5
4
  export * as grayscale from './grayscale/index.js'
6
5
  export * as invert from './invert/index.js'
7
6
  export * as lerp from './lerp/index.js'
@@ -10,3 +9,4 @@ export * as palette from './palette/index.js'
10
9
  export * as rotate from './rotate/index.js'
11
10
  export * as tidy from './tidy/index.js'
12
11
  export * as typechecks from './typechecks/index.js'
12
+ export * as distance from './distance/index.js'
@@ -1,6 +1,6 @@
1
- export * as bem from './bem/index.js'
2
1
  export * as clss from './clss/index.js'
3
2
  export * as generateNiceColor from './generate-nice-color/index.js'
4
3
  export * as isValidCssClassName from './is-valid-css-class-name/index.js'
5
4
  export * as scale from './scale/index.js'
6
5
  export * as stylesSet from './styles-set/index.js'
6
+ export * as bem from './bem/index.js'
@@ -1,6 +1,6 @@
1
- export * as bem from './bem/index.js'
2
1
  export * as clss from './clss/index.js'
3
2
  export * as generateNiceColor from './generate-nice-color/index.js'
4
3
  export * as isValidCssClassName from './is-valid-css-class-name/index.js'
5
4
  export * as scale from './scale/index.js'
6
5
  export * as stylesSet from './styles-set/index.js'
6
+ export * as bem from './bem/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'
3
+ export * as and from './and/index.js'
4
4
  export * as append from './append/index.js'
5
5
  export * as at from './at/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 equals from './equals/index.js'
10
9
  export * as getattribute from './getattribute/index.js'
11
10
  export * as getproperties from './getproperties/index.js'
12
11
  export * as getproperty from './getproperty/index.js'
13
12
  export * as hjparse from './hjparse/index.js'
14
- export * as if from './if/index.js'
13
+ export * as equals from './equals/index.js'
15
14
  export * as hjstringify from './hjstringify/index.js'
16
- export * as join from './join/index.js'
15
+ export * as if from './if/index.js'
17
16
  export * as initialize from './initialize/index.js'
18
17
  export * as length from './length/index.js'
19
- export * as map from './map/index.js'
18
+ export * as join from './join/index.js'
19
+ export * as negate from './negate/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
+ export * as populate from './populate/index.js'
23
23
  export * as pickrandom from './pickrandom/index.js'
24
24
  export * as print from './print/index.js'
25
- export * as push from './push/index.js'
25
+ export * as map from './map/index.js'
26
26
  export * as pusheach from './pusheach/index.js'
27
+ export * as push from './push/index.js'
27
28
  export * as recordtoarray from './recordtoarray/index.js'
28
- export * as removeclass from './removeclass/index.js'
29
+ export * as removeattribute from './removeattribute/index.js'
29
30
  export * as renameproperty from './renameproperty/index.js'
31
+ export * as removeclass from './removeclass/index.js'
30
32
  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 select from './select/index.js'
35
36
  export * as sorton from './sorton/index.js'
36
37
  export * as setproperty from './setproperty/index.js'
37
- export * as populate from './populate/index.js'
38
- export * as split from './split/index.js'
39
38
  export * as spread from './spread/index.js'
39
+ export * as split from './split/index.js'
40
40
  export * as toarray from './toarray/index.js'
41
- export * as toboolean from './toboolean/index.js'
42
41
  export * as toelement from './toelement/index.js'
43
42
  export * as toggleclass from './toggleclass/index.js'
43
+ export * as toboolean from './toboolean/index.js'
44
44
  export * as tonodelist from './tonodelist/index.js'
45
- export * as tonull from './tonull/index.js'
46
45
  export * as tonumber from './tonumber/index.js'
47
- export * as toref from './toref/index.js'
48
46
  export * as torecord from './torecord/index.js'
49
- export * as totext from './totext/index.js'
47
+ export * as tonull from './tonull/index.js'
48
+ export * as toref from './toref/index.js'
49
+ export * as tostring from './tostring/index.js'
50
50
  export * as transformselected from './transformselected/index.js'
51
+ export * as totext from './totext/index.js'
51
52
  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'
3
+ export * as and from './and/index.js'
4
4
  export * as append from './append/index.js'
5
5
  export * as at from './at/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 equals from './equals/index.js'
10
9
  export * as getattribute from './getattribute/index.js'
11
10
  export * as getproperties from './getproperties/index.js'
12
11
  export * as getproperty from './getproperty/index.js'
13
12
  export * as hjparse from './hjparse/index.js'
14
- export * as if from './if/index.js'
13
+ export * as equals from './equals/index.js'
15
14
  export * as hjstringify from './hjstringify/index.js'
16
- export * as join from './join/index.js'
15
+ export * as if from './if/index.js'
17
16
  export * as initialize from './initialize/index.js'
18
17
  export * as length from './length/index.js'
19
- export * as map from './map/index.js'
18
+ export * as join from './join/index.js'
19
+ export * as negate from './negate/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
+ export * as populate from './populate/index.js'
23
23
  export * as pickrandom from './pickrandom/index.js'
24
24
  export * as print from './print/index.js'
25
- export * as push from './push/index.js'
25
+ export * as map from './map/index.js'
26
26
  export * as pusheach from './pusheach/index.js'
27
+ export * as push from './push/index.js'
27
28
  export * as recordtoarray from './recordtoarray/index.js'
28
- export * as removeclass from './removeclass/index.js'
29
+ export * as removeattribute from './removeattribute/index.js'
29
30
  export * as renameproperty from './renameproperty/index.js'
31
+ export * as removeclass from './removeclass/index.js'
30
32
  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 select from './select/index.js'
35
36
  export * as sorton from './sorton/index.js'
36
37
  export * as setproperty from './setproperty/index.js'
37
- export * as populate from './populate/index.js'
38
- export * as split from './split/index.js'
39
38
  export * as spread from './spread/index.js'
39
+ export * as split from './split/index.js'
40
40
  export * as toarray from './toarray/index.js'
41
- export * as toboolean from './toboolean/index.js'
42
41
  export * as toelement from './toelement/index.js'
43
42
  export * as toggleclass from './toggleclass/index.js'
43
+ export * as toboolean from './toboolean/index.js'
44
44
  export * as tonodelist from './tonodelist/index.js'
45
- export * as tonull from './tonull/index.js'
46
45
  export * as tonumber from './tonumber/index.js'
47
- export * as toref from './toref/index.js'
48
46
  export * as torecord from './torecord/index.js'
49
- export * as totext from './totext/index.js'
47
+ export * as tonull from './tonull/index.js'
48
+ export * as toref from './toref/index.js'
49
+ export * as tostring from './tostring/index.js'
50
50
  export * as transformselected from './transformselected/index.js'
51
+ export * as totext from './totext/index.js'
51
52
  export * as trim from './trim/index.js'
52
- export * as tostring from './tostring/index.js'
@@ -1,13 +1,13 @@
1
+ export * as any from './any/index.js'
1
2
  export * as array from './array/index.js'
2
3
  export * as boolean from './boolean/index.js'
3
4
  export * as element from './element/index.js'
4
5
  export * as get from './get/index.js'
5
- export * as any from './any/index.js'
6
- export * as nodelist from './nodelist/index.js'
7
6
  export * as guess from './guess/index.js'
7
+ export * as nodelist from './nodelist/index.js'
8
8
  export * as null from './null/index.js'
9
+ export * as number from './number/index.js'
9
10
  export * as record from './record/index.js'
10
11
  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 any from './any/index.js'
1
2
  export * as array from './array/index.js'
2
3
  export * as boolean from './boolean/index.js'
3
4
  export * as element from './element/index.js'
4
5
  export * as get from './get/index.js'
5
- export * as any from './any/index.js'
6
- export * as nodelist from './nodelist/index.js'
7
6
  export * as guess from './guess/index.js'
7
+ export * as nodelist from './nodelist/index.js'
8
8
  export * as null from './null/index.js'
9
+ export * as number from './number/index.js'
9
10
  export * as record from './record/index.js'
10
11
  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,10 +1,10 @@
1
+ export * as deepSelect from './deep-select/index.js'
1
2
  export * as getNodeAncestors from './get-node-ancestors/index.js'
3
+ export * as hyperJson from './hyper-json/index.js'
2
4
  export * as getPositionInsideParent from './get-position-inside-parent/index.js'
3
5
  export * as insertNode from './insert-node/index.js'
4
- export * as hyperJson from './hyper-json/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 stringToNodes from './string-to-nodes/index.js'
8
8
  export * as selectorToElement from './selector-to-element/index.js'
9
+ export * as stringToNodes from './string-to-nodes/index.js'
9
10
  export * as watchSelection from './watch-selection/index.js'
10
- export * as deepSelect from './deep-select/index.js'
@@ -1,10 +1,10 @@
1
+ export * as deepSelect from './deep-select/index.js'
1
2
  export * as getNodeAncestors from './get-node-ancestors/index.js'
3
+ export * as hyperJson from './hyper-json/index.js'
2
4
  export * as getPositionInsideParent from './get-position-inside-parent/index.js'
3
5
  export * as insertNode from './insert-node/index.js'
4
- export * as hyperJson from './hyper-json/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 stringToNodes from './string-to-nodes/index.js'
8
8
  export * as selectorToElement from './selector-to-element/index.js'
9
+ export * as stringToNodes from './string-to-nodes/index.js'
9
10
  export * as watchSelection from './watch-selection/index.js'
10
- export * as deepSelect from './deep-select/index.js'
@@ -1,5 +1,5 @@
1
- export * as arrays from './arrays/index.js'
2
1
  export * as booleans from './booleans/index.js'
2
+ export * as arrays from './arrays/index.js'
3
3
  export * as colors from './colors/index.js'
4
4
  export * as css from './css/index.js'
5
5
  export * as errors from './errors/index.js'
package/agnostic/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * as arrays from './arrays/index.js'
2
1
  export * as booleans from './booleans/index.js'
2
+ export * as arrays from './arrays/index.js'
3
3
  export * as colors from './colors/index.js'
4
4
  export * as css from './css/index.js'
5
5
  export * as errors from './errors/index.js'
@@ -1,12 +1,12 @@
1
- export * as assert from './assert/index.js'
2
1
  export * as cast from './cast/index.js'
2
+ export * as assert from './assert/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
6
  export * as dataSize from './data-size/index.js'
7
7
  export * as isConstructorFunction from './is-constructor-function/index.js'
8
- export * as isNullish from './is-nullish/index.js'
9
8
  export * as logs from './logs/index.js'
9
+ export * as isNullish from './is-nullish/index.js'
10
10
  export * as normalizeExtension from './normalize-extension/index.js'
11
- export * as outcome from './outcome/index.js'
12
11
  export * as loremIpsum from './lorem-ipsum/index.js'
12
+ export * as outcome from './outcome/index.js'
@@ -1,12 +1,12 @@
1
- export * as assert from './assert/index.js'
2
1
  export * as cast from './cast/index.js'
2
+ export * as assert from './assert/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
6
  export * as dataSize from './data-size/index.js'
7
7
  export * as isConstructorFunction from './is-constructor-function/index.js'
8
- export * as isNullish from './is-nullish/index.js'
9
8
  export * as logs from './logs/index.js'
9
+ export * as isNullish from './is-nullish/index.js'
10
10
  export * as normalizeExtension from './normalize-extension/index.js'
11
- export * as outcome from './outcome/index.js'
12
11
  export * as loremIpsum from './lorem-ipsum/index.js'
12
+ export * as outcome from './outcome/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as logger from './logger/index.js'
2
- export * as styles from './styles/index.js'
3
2
  export * as makeTextBlock from './make-text-block/index.js'
3
+ export * as styles from './styles/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as logger from './logger/index.js'
2
- export * as styles from './styles/index.js'
3
2
  export * as makeTextBlock from './make-text-block/index.js'
3
+ export * as styles from './styles/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as absoluteModulo from './absolute-modulo/index.js'
2
- export * as approximateRational from './approximate-rational/index.js'
3
2
  export * as clamp from './clamp/index.js'
3
+ export * as approximateRational from './approximate-rational/index.js'
4
4
  export * as geometricProgressions from './geometric-progressions/index.js'
5
5
  export * as interpolate from './interpolate/index.js'
6
6
  export * as round from './round/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as absoluteModulo from './absolute-modulo/index.js'
2
- export * as approximateRational from './approximate-rational/index.js'
3
2
  export * as clamp from './clamp/index.js'
3
+ export * as approximateRational from './approximate-rational/index.js'
4
4
  export * as geometricProgressions from './geometric-progressions/index.js'
5
5
  export * as interpolate from './interpolate/index.js'
6
6
  export * as round from './round/index.js'
@@ -1,8 +1,8 @@
1
1
  export * as deepGetProperty from './deep-get-property/index.js'
2
2
  export * as enums from './enums/index.js'
3
+ export * as flattenGetters from './flatten-getters/index.js'
3
4
  export * as isObject from './is-object/index.js'
4
5
  export * as isRecord from './is-record/index.js'
5
- export * as flattenGetters from './flatten-getters/index.js'
6
6
  export * as recordFormat from './record-format/index.js'
7
7
  export * as recordMap from './record-map/index.js'
8
8
  export * as sortKeys from './sort-keys/index.js'
@@ -1,8 +1,8 @@
1
1
  export * as deepGetProperty from './deep-get-property/index.js'
2
2
  export * as enums from './enums/index.js'
3
+ export * as flattenGetters from './flatten-getters/index.js'
3
4
  export * as isObject from './is-object/index.js'
4
5
  export * as isRecord from './is-record/index.js'
5
- export * as flattenGetters from './flatten-getters/index.js'
6
6
  export * as recordFormat from './record-format/index.js'
7
7
  export * as recordMap from './record-map/index.js'
8
8
  export * as sortKeys from './sort-keys/index.js'
@@ -1,2 +1,2 @@
1
- export * as throttleDebounce from './throttle-debounce/index.js'
2
1
  export * as memoize from './memoize/index.js'
2
+ export * as throttleDebounce from './throttle-debounce/index.js'
@@ -1,2 +1,2 @@
1
- export * as throttleDebounce from './throttle-debounce/index.js'
2
1
  export * as memoize from './memoize/index.js'
2
+ export * as throttleDebounce from './throttle-debounce/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as fileName from './file-name/index.js'
2
- export * as html from './html/index.js'
3
2
  export * as path from './path/index.js'
3
+ export * as html from './html/index.js'
4
4
  export * as userInput from './user-input/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as fileName from './file-name/index.js'
2
- export * as html from './html/index.js'
3
2
  export * as path from './path/index.js'
3
+ export * as html from './html/index.js'
4
4
  export * as userInput from './user-input/index.js'
@@ -3,6 +3,6 @@ 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
5
  export * as replaceAll from './replace-all/index.js'
6
- export * as toAlphanum from './to-alphanum/index.js'
7
- export * as trim from './trim/index.js'
8
6
  export * as splitTrim from './split-trim/index.js'
7
+ export * as trim from './trim/index.js'
8
+ export * as toAlphanum from './to-alphanum/index.js'
@@ -3,6 +3,6 @@ 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
5
  export * as replaceAll from './replace-all/index.js'
6
- export * as toAlphanum from './to-alphanum/index.js'
7
- export * as trim from './trim/index.js'
8
6
  export * as splitTrim from './split-trim/index.js'
7
+ export * as trim from './trim/index.js'
8
+ export * as toAlphanum from './to-alphanum/index.js'
@@ -1,5 +1,5 @@
1
- export * as dates from './dates/index.js'
2
1
  export * as duration from './duration/index.js'
3
- export * as transitions from './transitions/index.js'
4
2
  export * as timeout from './timeout/index.js'
3
+ export * as transitions from './transitions/index.js'
5
4
  export * as wait from './wait/index.js'
5
+ export * as dates from './dates/index.js'
@@ -1,5 +1,5 @@
1
- export * as dates from './dates/index.js'
2
1
  export * as duration from './duration/index.js'
3
- export * as transitions from './transitions/index.js'
4
2
  export * as timeout from './timeout/index.js'
3
+ export * as transitions from './transitions/index.js'
5
4
  export * as wait from './wait/index.js'
5
+ export * as dates from './dates/index.js'
@@ -0,0 +1,7 @@
1
+ import { type FunctionComponent, type ButtonHTMLAttributes, type ReactNode } from 'react';
2
+ import type { WithClassName } from '../utils/types.js';
3
+ export type Props = ButtonHTMLAttributes<HTMLButtonElement> & WithClassName<{
4
+ label?: ReactNode;
5
+ error?: ReactNode;
6
+ }>;
7
+ export declare const Button: FunctionComponent<Props>;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { clss } from '../../agnostic/css/clss/index.js';
3
+ import { mergeClassNames } from '../utils/index.js';
4
+ import { button as publicClassName } from '../public-classnames.js';
5
+ import cssModule from './styles.module.css';
6
+ export const Button = ({ label, error, className, ...rest }) => {
7
+ const c = clss(publicClassName, { cssModule });
8
+ const rootClss = mergeClassNames(c(null), className);
9
+ return _jsx("button", { ...rest, className: c(rootClss) });
10
+ };
File without changes
@@ -0,0 +1,7 @@
1
+ import { type FunctionComponent, type InputHTMLAttributes, type ReactNode } from 'react';
2
+ import type { WithClassName } from '../utils/types.js';
3
+ export type Props = InputHTMLAttributes<HTMLInputElement> & WithClassName<{
4
+ label?: ReactNode;
5
+ error?: ReactNode;
6
+ }>;
7
+ export declare const Input: FunctionComponent<Props>;
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { clss } from '../../agnostic/css/clss/index.js';
4
+ import { isNotFalsy } from '../../agnostic/booleans/is-falsy/index.js';
5
+ import { randomHash } from '../../agnostic/random/uuid/index.js';
6
+ import { input as publicClassName } from '../public-classnames.js';
7
+ import { mergeClassNames } from '../utils/index.js';
8
+ import cssModule from './styles.module.css';
9
+ export const Input = ({ label, error, className, ...rest }) => {
10
+ const [id] = useState(`_${randomHash(12)}`);
11
+ const c = clss(publicClassName, { cssModule });
12
+ const rootClss = mergeClassNames(c(null), className);
13
+ return _jsxs("span", { className: rootClss, children: [isNotFalsy(label) && _jsx("label", { className: c('label'), htmlFor: id, children: label }), _jsx("input", { ...rest, className: c('input'), id: id }), isNotFalsy(error) && _jsx("span", { className: c('error'), children: error })] });
14
+ };
File without changes
@@ -0,0 +1,20 @@
1
+ import { type FunctionComponent } from 'react';
2
+ import { type ZodType, type core } from 'zod';
3
+ import type { WithClassName } from '../utils/types.js';
4
+ type JsonPrimitive = string | number | boolean | null;
5
+ type JsonValue = JsonPrimitive | JsonValue[] | {
6
+ [k: string]: JsonValue;
7
+ };
8
+ export type Props = WithClassName<{
9
+ defaultValue?: JsonValue;
10
+ onChange?: (val: JsonValue) => void;
11
+ onValidationError?: (issues: core.$ZodIssue[]) => void;
12
+ schema?: ZodType<JsonValue>;
13
+ }>;
14
+ export declare const JsonEditor: FunctionComponent<Props>;
15
+ export declare const ValueEditor: FunctionComponent<{
16
+ defaultValue?: JsonValue;
17
+ onChange?: (newValue: JsonValue) => void;
18
+ path?: Array<string | number>;
19
+ }>;
20
+ export {};
@@ -0,0 +1,159 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { ZodError } from 'zod';
4
+ import { clss } from '../../agnostic/css/clss/index.js';
5
+ import { isNonNullObject } from '../../agnostic/objects/is-object/index.js';
6
+ import { randomHash } from '../../agnostic/random/uuid/index.js';
7
+ import { Input } from '../Input/index.js';
8
+ import { Select } from '../Select/index.js';
9
+ import { Textarea } from '../Textarea/index.js';
10
+ import { mergeClassNames } from '../utils/index.js';
11
+ import { jsonEditor as publicClassName } from '../public-classnames.js';
12
+ import cssModule from './styles.module.css';
13
+ const c = clss(publicClassName, { cssModule });
14
+ export const JsonEditor = ({ defaultValue = null, onChange, onValidationError, schema, className }) => {
15
+ const [value, setValue] = useState(defaultValue);
16
+ const setValueAndDispatch = (val) => {
17
+ setValue(val);
18
+ onChange?.(val);
19
+ try {
20
+ schema?.parse(val);
21
+ }
22
+ catch (err) {
23
+ if (err instanceof ZodError) {
24
+ const { issues } = err;
25
+ onValidationError?.(issues);
26
+ }
27
+ else
28
+ throw err;
29
+ }
30
+ };
31
+ const rootClss = mergeClassNames(c(null, {}), className);
32
+ return _jsxs("div", { className: rootClss, children: [_jsx(ValueEditor, { defaultValue: defaultValue, onChange: val => setValueAndDispatch(val), path: [] }), _jsx("pre", { children: JSON.stringify(value, null, 2) })] });
33
+ };
34
+ export const ValueEditor = ({ defaultValue = {}, onChange, path = [] }) => {
35
+ // State
36
+ const [value, setValue] = useState(defaultValue);
37
+ const setValueAndDispatch = (newValue) => {
38
+ setValue(newValue);
39
+ onChange?.(newValue);
40
+ };
41
+ // Handlers
42
+ const handleTypeSelectChange = e => {
43
+ const newType = e.target.value;
44
+ if (newType === 'string')
45
+ return setValueAndDispatch('');
46
+ if (newType === 'number')
47
+ return setValueAndDispatch(0);
48
+ if (newType === 'boolean')
49
+ return setValueAndDispatch(false);
50
+ if (newType === 'null')
51
+ return setValueAndDispatch(null);
52
+ if (newType === 'record')
53
+ return setValueAndDispatch({ a: 0, b: false });
54
+ if (newType === 'array')
55
+ return setValueAndDispatch([]);
56
+ };
57
+ const handleStringValueChange = e => setValueAndDispatch(e.target.value);
58
+ const handleNumberValueChange = e => setValueAndDispatch(parseFloat(e.target.value));
59
+ const handleBooleanValueChange = e => setValueAndDispatch(e.target.checked);
60
+ const handleRecordValueChange = e => setValueAndDispatch(e);
61
+ const handleArrayValueChange = e => setValueAndDispatch(e);
62
+ // Rendering
63
+ const valueEditorClss = c('value', {
64
+ string: typeof value === 'string',
65
+ number: typeof value === 'number',
66
+ boolean: typeof value === 'boolean',
67
+ null: value === null,
68
+ array: Array.isArray(value),
69
+ record: !Array.isArray(value) && isNonNullObject(value)
70
+ });
71
+ const pathStringDataAttr = (path ?? []).map(e => e.toString()).join('.');
72
+ return _jsxs("span", { className: valueEditorClss, "data-path": pathStringDataAttr, children: [_jsxs(Select, { className: c('type'), onChange: handleTypeSelectChange, children: [_jsx("option", { value: 'string', selected: typeof value === 'string', children: "string" }), _jsx("option", { value: 'number', selected: typeof value === 'number', children: "number" }), _jsx("option", { value: 'boolean', selected: typeof value === 'boolean', children: "boolean" }), _jsx("option", { value: 'null', selected: value === null, children: "null" }), _jsx("option", { value: 'record', selected: isNonNullObject(value) && !Array.isArray(value), children: "record" }), _jsx("option", { value: 'array', selected: Array.isArray(value), children: "array" })] }), typeof value === 'string' && _jsx(StringEditor, { type: 'textarea', defaultValue: value, onChange: handleStringValueChange }), typeof value === 'number' && _jsx(NumberEditor, { defaultValue: value, onChange: handleNumberValueChange }), typeof value === 'boolean' && _jsx(BooleanEditor, { defaultValue: value, onChange: handleBooleanValueChange }), value === null && _jsx(NullEditor, { defaultValue: value }), isNonNullObject(value) && !Array.isArray(value) && _jsx(RecordEditor, { defaultValue: value, onChange: handleRecordValueChange, path: path }), Array.isArray(value) && _jsx(ArrayEditor, { defaultValue: value, onChange: handleArrayValueChange, path: path })] });
73
+ };
74
+ const StringEditor = (props) => props.type === 'textarea'
75
+ ? _jsx(Textarea, { className: c('string'), defaultValue: props.defaultValue ?? '', onChange: props.onChange })
76
+ : _jsx(Input, { type: 'text', className: c('string'), defaultValue: props.defaultValue ?? '', onChange: props.onChange });
77
+ const NumberEditor = (props) => _jsx(Input, { className: c('number'), type: 'number', defaultValue: props.defaultValue ?? 0, onChange: props.onChange });
78
+ const BooleanEditor = (props) => _jsx(Input, { className: c('boolean'), type: 'checkbox', defaultChecked: props.defaultValue ?? false, onChange: props.onChange });
79
+ const NullEditor = () => _jsx("span", { className: c('null'), children: "null" });
80
+ const RecordEditor = ({ defaultValue = {}, onChange, path }) => {
81
+ const [value, setValue] = useState(new Map(Object
82
+ .entries(defaultValue)
83
+ .map(([key, val]) => [key, {
84
+ id: randomHash(8),
85
+ val
86
+ }])));
87
+ const setValueAndDispatch = (newValue) => {
88
+ setValue(newValue);
89
+ onChange?.(Array.from(newValue).reduce((acc, [key, { val }]) => ({
90
+ ...acc,
91
+ [key]: val
92
+ }), {}));
93
+ };
94
+ const handleDeleteProp = (key) => {
95
+ const newValue = new Map(value);
96
+ newValue.delete(key);
97
+ setValueAndDispatch(newValue);
98
+ };
99
+ const handleCreateProp = () => {
100
+ let propName = '';
101
+ while (value.get(propName) !== undefined) {
102
+ propName = randomHash(4);
103
+ }
104
+ const newValue = new Map(value);
105
+ newValue.set(propName, { id: randomHash(8), val: null });
106
+ setValueAndDispatch(newValue);
107
+ };
108
+ const handleRenameProp = (oldName) => e => {
109
+ const newName = e.target.value;
110
+ const newValue = new Map(Array
111
+ .from(value)
112
+ .map(([key, { id, val }]) => [
113
+ key === oldName ? newName : key,
114
+ { id, val }
115
+ ]));
116
+ setValueAndDispatch(newValue);
117
+ };
118
+ const handleChangeProp = (changedKey) => (newValue) => {
119
+ const newVal = new Map(Array.from(value).map(([key, { id, val }]) => [key, {
120
+ id,
121
+ val: key === changedKey ? newValue : val
122
+ }]));
123
+ setValueAndDispatch(newVal);
124
+ };
125
+ return _jsxs("ul", { className: c('record'), children: [Array.from(value).map(([key, { id, val }]) => _jsxs("li", { "data-key": key, "data-path": [...(path ?? []), key].join('.'), children: [_jsx("button", { className: c('delete-prop'), onClick: () => handleDeleteProp(key), children: "x" }), _jsx("span", { className: c('prop-name'), children: _jsx(StringEditor, { type: 'input', defaultValue: key, onChange: handleRenameProp(key) }) }), _jsx(ValueEditor, { defaultValue: val, onChange: handleChangeProp(key), path: [...(path ?? []), key] })] }, id)), _jsx("button", { className: c('create-prop'), onClick: handleCreateProp, children: "+" })] });
126
+ };
127
+ const ArrayEditor = ({ defaultValue = [], onChange, path }) => {
128
+ const [value, setValue] = useState(new Map(defaultValue.map(val => [randomHash(8), val])));
129
+ const setValueAndDispatch = (newValue) => {
130
+ setValue(newValue);
131
+ onChange?.(Array.from(newValue).map(([, val]) => val));
132
+ };
133
+ const handleDeleteProp = (pos) => setValueAndDispatch(new Map([
134
+ ...Array.from(value).slice(0, pos),
135
+ ...Array.from(value).slice(pos + 1)
136
+ ]));
137
+ const handleCreateProp = () => {
138
+ const newValue = new Map([...Array.from(value), [randomHash(8), null]]);
139
+ setValueAndDispatch(newValue);
140
+ };
141
+ const handleChangeProp = (pos) => (newValue) => setValueAndDispatch(new Map([
142
+ ...Array.from(value).slice(0, pos),
143
+ [Array.from(value)[pos]?.[0] ?? randomHash(8), newValue],
144
+ ...Array.from(value).slice(pos + 1)
145
+ ]));
146
+ const handleLiftProp = (pos) => setValueAndDispatch(new Map([
147
+ ...Array.from(value).slice(0, pos - 1),
148
+ Array.from(value)[pos],
149
+ Array.from(value)[pos - 1],
150
+ ...Array.from(value).slice(pos + 1)
151
+ ].filter(e => e !== undefined)));
152
+ const handleDropProp = (pos) => setValueAndDispatch(new Map([
153
+ ...Array.from(value).slice(0, pos),
154
+ Array.from(value)[pos + 1],
155
+ Array.from(value)[pos],
156
+ ...Array.from(value).slice(pos + 2)
157
+ ].filter(e => e !== undefined)));
158
+ return _jsxs("ol", { children: [Array.from(value).map(([id, val], pos) => _jsxs("li", { className: c('array'), "data-path": [...(path ?? []), pos].join('.'), children: [_jsx("button", { className: c('delete-prop'), onClick: () => handleDeleteProp(pos), children: "x" }), _jsx("button", { className: c('lift-prop'), disabled: pos === 0, onClick: () => handleLiftProp(pos), children: "\u2191" }), _jsx("button", { className: c('drop-prop'), disabled: pos === value.size - 1, onClick: () => handleDropProp(pos), children: "\u2193" }), _jsx(ValueEditor, { defaultValue: val, onChange: handleChangeProp(pos), path: [...(path ?? []), pos] })] }, id)), _jsx("button", { className: c('create-prop'), onClick: handleCreateProp, children: "+" })] });
159
+ };
File without changes
@@ -0,0 +1,7 @@
1
+ import { type FunctionComponent, type SelectHTMLAttributes, type ReactNode, type PropsWithChildren } from 'react';
2
+ import type { WithClassName } from '../utils/types.js';
3
+ export type Props = SelectHTMLAttributes<HTMLSelectElement> & PropsWithChildren<WithClassName<{
4
+ label?: ReactNode;
5
+ error?: ReactNode;
6
+ }>>;
7
+ export declare const Select: FunctionComponent<Props>;
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { clss } from '../../agnostic/css/clss/index.js';
4
+ import { isNotFalsy } from '../../agnostic/booleans/is-falsy/index.js';
5
+ import { randomHash } from '../../agnostic/random/uuid/index.js';
6
+ import { select as publicClassName } from '../public-classnames.js';
7
+ import { mergeClassNames } from '../utils/index.js';
8
+ import cssModule from './styles.module.css';
9
+ export const Select = ({ label, error, className, children, ...rest }) => {
10
+ const [id] = useState(`_${randomHash(12)}`);
11
+ const c = clss(publicClassName, { cssModule });
12
+ const rootClss = mergeClassNames(c(null), className);
13
+ return _jsxs("span", { className: rootClss, children: [isNotFalsy(label) && _jsx("label", { className: c('label'), htmlFor: id, children: label }), _jsx("select", { ...rest, className: c('select'), id: id, children: children }), isNotFalsy(error) && _jsx("span", { className: c('error'), children: error })] });
14
+ };
File without changes
@@ -0,0 +1,7 @@
1
+ import { type FunctionComponent, type TextareaHTMLAttributes, type ReactNode } from 'react';
2
+ import type { WithClassName } from '../utils/types.js';
3
+ export type Props = TextareaHTMLAttributes<HTMLTextAreaElement> & WithClassName<{
4
+ label?: ReactNode;
5
+ error?: ReactNode;
6
+ }>;
7
+ export declare const Textarea: FunctionComponent<Props>;
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { clss } from '../../agnostic/css/clss/index.js';
4
+ import { isNotFalsy } from '../../agnostic/booleans/is-falsy/index.js';
5
+ import { randomHash } from '../../agnostic/random/uuid/index.js';
6
+ import { textarea as publicClassName } from '../public-classnames.js';
7
+ import { mergeClassNames } from '../utils/index.js';
8
+ import cssModule from './styles.module.css';
9
+ export const Textarea = ({ label, error, className, ...rest }) => {
10
+ const [id] = useState(`_${randomHash(12)}`);
11
+ const c = clss(publicClassName, { cssModule });
12
+ const rootClss = mergeClassNames(c(null), className);
13
+ return _jsxs("span", { className: rootClss, children: [isNotFalsy(label) && _jsx("label", { className: c('label'), htmlFor: id, children: label }), _jsx("textarea", { ...rest, className: c('textarea'), id: id }), isNotFalsy(error) && _jsx("span", { className: c('error'), children: error })] });
14
+ };
File without changes
@@ -1,20 +1,25 @@
1
1
  export * as beforeAfter from './BeforeAfter/index.js'
2
+ export * as button from './Button/index.js'
2
3
  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
+ export * as disclaimer from './Disclaimer/index.js'
5
6
  export * as eventListener from './EventListener/index.js'
6
7
  export * as gallery from './Gallery/index.js'
7
8
  export * as iframe from './Iframe/index.js'
8
9
  export * as image from './Image/index.js'
10
+ export * as input from './Input/index.js'
9
11
  export * as intersectionObserver from './IntersectionObserver/index.js'
12
+ export * as jsonEditor from './JsonEditor/index.js'
10
13
  export * as overlayer from './Overlayer/index.js'
11
14
  export * as paginator from './Paginator/index.js'
12
15
  export * as resizeObserver from './ResizeObserver/index.js'
13
16
  export * as scrllgngn from './Scrllgngn/index.js'
14
17
  export * as scrollListener from './ScrollListener/index.js'
18
+ export * as select from './Select/index.js'
15
19
  export * as sequencer from './Sequencer/index.js'
16
- export * as subtitles from './Subtitles/index.js'
17
20
  export * as shadowRoot from './ShadowRoot/index.js'
21
+ export * as subtitles from './Subtitles/index.js'
22
+ export * as textarea from './Textarea/index.js'
18
23
  export * as theatre from './Theatre/index.js'
19
24
  export * as uiModule from './UIModule/index.js'
20
25
  export * as video from './Video/index.js'
@@ -1,20 +1,25 @@
1
1
  export * as beforeAfter from './BeforeAfter/index.js'
2
+ export * as button from './Button/index.js'
2
3
  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
+ export * as disclaimer from './Disclaimer/index.js'
5
6
  export * as eventListener from './EventListener/index.js'
6
7
  export * as gallery from './Gallery/index.js'
7
8
  export * as iframe from './Iframe/index.js'
8
9
  export * as image from './Image/index.js'
10
+ export * as input from './Input/index.js'
9
11
  export * as intersectionObserver from './IntersectionObserver/index.js'
12
+ export * as jsonEditor from './JsonEditor/index.js'
10
13
  export * as overlayer from './Overlayer/index.js'
11
14
  export * as paginator from './Paginator/index.js'
12
15
  export * as resizeObserver from './ResizeObserver/index.js'
13
16
  export * as scrllgngn from './Scrllgngn/index.js'
14
17
  export * as scrollListener from './ScrollListener/index.js'
18
+ export * as select from './Select/index.js'
15
19
  export * as sequencer from './Sequencer/index.js'
16
- export * as subtitles from './Subtitles/index.js'
17
20
  export * as shadowRoot from './ShadowRoot/index.js'
21
+ export * as subtitles from './Subtitles/index.js'
22
+ export * as textarea from './Textarea/index.js'
18
23
  export * as theatre from './Theatre/index.js'
19
24
  export * as uiModule from './UIModule/index.js'
20
25
  export * as video from './Video/index.js'
@@ -1,4 +1,5 @@
1
1
  export declare const beforeAfter = "lm-before-after";
2
+ export declare const button = "lm-button";
2
3
  export declare const clippable = "lm-clippable";
3
4
  export declare const disclaimer = "lm-disclaimer";
4
5
  export declare const drawer = "lm-drawer";
@@ -6,15 +7,19 @@ export declare const eventListener = "lm-event-listener";
6
7
  export declare const gallery = "lm-gallery";
7
8
  export declare const iframe = "lm-iframe";
8
9
  export declare const image = "lm-image";
10
+ export declare const input = "lm-input";
9
11
  export declare const intersectionObserver = "lm-intersection-observer";
12
+ export declare const jsonEditor = "lm-json-editor";
10
13
  export declare const overlayer = "lm-overlayer";
11
14
  export declare const paginator = "lm-paginator";
12
15
  export declare const resizeObserver = "lm-resize-observer";
13
16
  export declare const scrllgngn = "lm-scrllgngn";
14
17
  export declare const scrollListener = "lm-scroll-listener";
18
+ export declare const select = "lm-select";
15
19
  export declare const sequencer = "lm-sequencer";
16
20
  export declare const shadowRoot = "lm-shadow-root";
17
21
  export declare const subtitles = "lm-subtitles";
22
+ export declare const textarea = "lm-textarea";
18
23
  export declare const theatre = "lm-theatre";
19
24
  export declare const uiModule = "lm-ui-module";
20
25
  export declare const video = "lm-video";
@@ -1,4 +1,5 @@
1
1
  export const beforeAfter = 'lm-before-after';
2
+ export const button = 'lm-button';
2
3
  export const clippable = 'lm-clippable';
3
4
  export const disclaimer = 'lm-disclaimer';
4
5
  export const drawer = 'lm-drawer';
@@ -6,15 +7,19 @@ export const eventListener = 'lm-event-listener';
6
7
  export const gallery = 'lm-gallery';
7
8
  export const iframe = 'lm-iframe';
8
9
  export const image = 'lm-image';
10
+ export const input = 'lm-input';
9
11
  export const intersectionObserver = 'lm-intersection-observer';
12
+ export const jsonEditor = 'lm-json-editor';
10
13
  export const overlayer = 'lm-overlayer';
11
14
  export const paginator = 'lm-paginator';
12
15
  export const resizeObserver = 'lm-resize-observer';
13
16
  export const scrllgngn = 'lm-scrllgngn';
14
17
  export const scrollListener = 'lm-scroll-listener';
18
+ export const select = 'lm-select';
15
19
  export const sequencer = 'lm-sequencer';
16
20
  export const shadowRoot = 'lm-shadow-root';
17
21
  export const subtitles = 'lm-subtitles';
22
+ export const textarea = 'lm-textarea';
18
23
  export const theatre = 'lm-theatre';
19
24
  export const uiModule = 'lm-ui-module';
20
25
  export const video = 'lm-video';
@@ -8,5 +8,5 @@ export * as move from './move/index.js'
8
8
  export * as remove from './remove/index.js'
9
9
  export * as revokeSignedUrls from './revoke-signed-urls/index.js'
10
10
  export * as stat from './stat/index.js'
11
- export * as updateMetadata from './update-metadata/index.js'
12
11
  export * as upload from './upload/index.js'
12
+ export * as updateMetadata from './update-metadata/index.js'
@@ -8,5 +8,5 @@ export * as move from './move/index.js'
8
8
  export * as remove from './remove/index.js'
9
9
  export * as revokeSignedUrls from './revoke-signed-urls/index.js'
10
10
  export * as stat from './stat/index.js'
11
- export * as updateMetadata from './update-metadata/index.js'
12
11
  export * as upload from './upload/index.js'
12
+ export * as updateMetadata from './update-metadata/index.js'
@@ -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 upload from './upload/index.js'
7
6
  export * as stat from './stat/index.js'
7
+ export * as upload from './upload/index.js'
@@ -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 upload from './upload/index.js'
7
6
  export * as stat from './stat/index.js'
7
+ export * as upload from './upload/index.js'
@@ -1,5 +1,5 @@
1
1
  export * as create from './create/index.js'
2
- export * as format from './format/index.js'
3
2
  export * as metadata from './metadata/index.js'
4
3
  export * as transform from './transform/index.js'
5
4
  export * as utils from './utils/index.js'
5
+ export * as format from './format/index.js'
@@ -1,5 +1,5 @@
1
1
  export * as create from './create/index.js'
2
- export * as format from './format/index.js'
3
2
  export * as metadata from './metadata/index.js'
4
3
  export * as transform from './transform/index.js'
5
4
  export * as utils from './utils/index.js'
5
+ export * as format from './format/index.js'
@@ -10,6 +10,6 @@ export * as level from './level/index.js'
10
10
  export * as lighten from './lighten/index.js'
11
11
  export * as normalize from './normalize/index.js'
12
12
  export * as overlay from './overlay/index.js'
13
- export * as resize from './resize/index.js'
14
13
  export * as rotate from './rotate/index.js'
15
14
  export * as saturate from './saturate/index.js'
15
+ export * as resize from './resize/index.js'
@@ -10,6 +10,6 @@ export * as level from './level/index.js'
10
10
  export * as lighten from './lighten/index.js'
11
11
  export * as normalize from './normalize/index.js'
12
12
  export * as overlay from './overlay/index.js'
13
- export * as resize from './resize/index.js'
14
13
  export * as rotate from './rotate/index.js'
15
14
  export * as saturate from './saturate/index.js'
15
+ export * as resize from './resize/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 express from './@express/index.js'
3
2
  export * as designEdito from './@design-edito/index.js'
3
+ export * as express from './@express/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 express from './@express/index.js'
3
2
  export * as designEdito from './@design-edito/index.js'
3
+ export * as express from './@express/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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.4.19",
3
+ "version": "0.4.20",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -1360,6 +1360,13 @@
1360
1360
  "./components/BeforeAfter/index.js": {
1361
1361
  "import": "./components/BeforeAfter/index.js"
1362
1362
  },
1363
+ "./components/Button": {
1364
+ "import": "./components/Button/index.js",
1365
+ "types": "./components/Button/index.d.ts"
1366
+ },
1367
+ "./components/Button/index.js": {
1368
+ "import": "./components/Button/index.js"
1369
+ },
1363
1370
  "./components/Clippable": {
1364
1371
  "import": "./components/Clippable/index.js",
1365
1372
  "types": "./components/Clippable/index.d.ts"
@@ -1412,6 +1419,13 @@
1412
1419
  "./components/index.js": {
1413
1420
  "import": "./components/index.js"
1414
1421
  },
1422
+ "./components/Input": {
1423
+ "import": "./components/Input/index.js",
1424
+ "types": "./components/Input/index.d.ts"
1425
+ },
1426
+ "./components/Input/index.js": {
1427
+ "import": "./components/Input/index.js"
1428
+ },
1415
1429
  "./components/IntersectionObserver": {
1416
1430
  "import": "./components/IntersectionObserver/index.js",
1417
1431
  "types": "./components/IntersectionObserver/index.d.ts"
@@ -1419,6 +1433,13 @@
1419
1433
  "./components/IntersectionObserver/index.js": {
1420
1434
  "import": "./components/IntersectionObserver/index.js"
1421
1435
  },
1436
+ "./components/JsonEditor": {
1437
+ "import": "./components/JsonEditor/index.js",
1438
+ "types": "./components/JsonEditor/index.d.ts"
1439
+ },
1440
+ "./components/JsonEditor/index.js": {
1441
+ "import": "./components/JsonEditor/index.js"
1442
+ },
1422
1443
  "./components/Overlayer": {
1423
1444
  "import": "./components/Overlayer/index.js",
1424
1445
  "types": "./components/Overlayer/index.d.ts"
@@ -1454,6 +1475,13 @@
1454
1475
  "./components/ScrollListener/index.js": {
1455
1476
  "import": "./components/ScrollListener/index.js"
1456
1477
  },
1478
+ "./components/Select": {
1479
+ "import": "./components/Select/index.js",
1480
+ "types": "./components/Select/index.d.ts"
1481
+ },
1482
+ "./components/Select/index.js": {
1483
+ "import": "./components/Select/index.js"
1484
+ },
1457
1485
  "./components/Sequencer": {
1458
1486
  "import": "./components/Sequencer/index.js",
1459
1487
  "types": "./components/Sequencer/index.d.ts"
@@ -1479,6 +1507,13 @@
1479
1507
  "import": "./components/Subtitles/types.js",
1480
1508
  "types": "./components/Subtitles/types.d.ts"
1481
1509
  },
1510
+ "./components/Textarea": {
1511
+ "import": "./components/Textarea/index.js",
1512
+ "types": "./components/Textarea/index.d.ts"
1513
+ },
1514
+ "./components/Textarea/index.js": {
1515
+ "import": "./components/Textarea/index.js"
1516
+ },
1482
1517
  "./components/Theatre": {
1483
1518
  "import": "./components/Theatre/index.js",
1484
1519
  "types": "./components/Theatre/index.d.ts"