@design-edito/tools 0.4.20 → 0.4.22

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 (57) 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 +1 -1
  4. package/agnostic/colors/index.js +1 -1
  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 +12 -12
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +12 -12
  9. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +1 -1
  10. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +1 -1
  11. package/agnostic/html/index.d.ts +1 -1
  12. package/agnostic/html/index.js +1 -1
  13. package/agnostic/index.d.ts +1 -1
  14. package/agnostic/index.js +1 -1
  15. package/agnostic/misc/index.d.ts +5 -5
  16. package/agnostic/misc/index.js +5 -5
  17. package/agnostic/numbers/index.d.ts +2 -2
  18. package/agnostic/numbers/index.js +2 -2
  19. package/agnostic/objects/index.d.ts +1 -1
  20. package/agnostic/objects/index.js +1 -1
  21. package/agnostic/sanitization/index.d.ts +1 -1
  22. package/agnostic/sanitization/index.js +1 -1
  23. package/agnostic/strings/index.d.ts +2 -2
  24. package/agnostic/strings/index.js +2 -2
  25. package/agnostic/time/index.d.ts +3 -3
  26. package/agnostic/time/index.js +3 -3
  27. package/components/Button/index.d.ts +20 -0
  28. package/components/Button/index.js +10 -0
  29. package/components/Input/index.d.ts +26 -0
  30. package/components/Input/index.js +18 -2
  31. package/components/JsonEditor/index.d.ts +39 -0
  32. package/components/JsonEditor/index.js +64 -0
  33. package/components/Select/index.d.ts +27 -0
  34. package/components/Select/index.js +18 -2
  35. package/components/Textarea/index.d.ts +26 -0
  36. package/components/Textarea/index.js +18 -2
  37. package/components/index.d.ts +1 -1
  38. package/components/index.js +1 -1
  39. package/node/@aws-s3/storage/directory/index.d.ts +1 -1
  40. package/node/@aws-s3/storage/directory/index.js +1 -1
  41. package/node/@aws-s3/storage/file/index.d.ts +1 -1
  42. package/node/@aws-s3/storage/file/index.js +1 -1
  43. package/node/@google-cloud/storage/directory/index.d.ts +1 -1
  44. package/node/@google-cloud/storage/directory/index.js +1 -1
  45. package/node/@google-cloud/storage/file/index.d.ts +2 -2
  46. package/node/@google-cloud/storage/file/index.js +2 -2
  47. package/node/@google-cloud/storage/index.d.ts +1 -1
  48. package/node/@google-cloud/storage/index.js +1 -1
  49. package/node/cloud-storage/operations/index.d.ts +1 -1
  50. package/node/cloud-storage/operations/index.js +1 -1
  51. package/node/images/index.d.ts +1 -1
  52. package/node/images/index.js +1 -1
  53. package/node/images/transform/operations/index.d.ts +1 -1
  54. package/node/images/transform/operations/index.js +1 -1
  55. package/node/index.d.ts +1 -1
  56. package/node/index.js +1 -1
  57. package/package.json +1 -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 randomPick from './random-pick/index.js'
5
4
  export * as make from './make/index.js'
5
+ export * as randomPick from './random-pick/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 randomPick from './random-pick/index.js'
5
4
  export * as make from './make/index.js'
5
+ export * as randomPick from './random-pick/index.js'
6
6
  export * as shuffle from './shuffle/index.js'
@@ -1,6 +1,7 @@
1
1
  export * as contrast from './contrast/index.js'
2
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'
4
5
  export * as grayscale from './grayscale/index.js'
5
6
  export * as invert from './invert/index.js'
6
7
  export * as lerp from './lerp/index.js'
@@ -9,4 +10,3 @@ export * as palette from './palette/index.js'
9
10
  export * as rotate from './rotate/index.js'
10
11
  export * as tidy from './tidy/index.js'
11
12
  export * as typechecks from './typechecks/index.js'
12
- export * as distance from './distance/index.js'
@@ -1,6 +1,7 @@
1
1
  export * as contrast from './contrast/index.js'
2
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'
4
5
  export * as grayscale from './grayscale/index.js'
5
6
  export * as invert from './invert/index.js'
6
7
  export * as lerp from './lerp/index.js'
@@ -9,4 +10,3 @@ export * as palette from './palette/index.js'
9
10
  export * as rotate from './rotate/index.js'
10
11
  export * as tidy from './tidy/index.js'
11
12
  export * as typechecks from './typechecks/index.js'
12
- export * as distance from './distance/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as clss from './clss/index.js'
2
+ export * as bem from './bem/index.js'
2
3
  export * as generateNiceColor from './generate-nice-color/index.js'
3
4
  export * as isValidCssClassName from './is-valid-css-class-name/index.js'
4
5
  export * as scale from './scale/index.js'
5
6
  export * as stylesSet from './styles-set/index.js'
6
- export * as bem from './bem/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as clss from './clss/index.js'
2
+ export * as bem from './bem/index.js'
2
3
  export * as generateNiceColor from './generate-nice-color/index.js'
3
4
  export * as isValidCssClassName from './is-valid-css-class-name/index.js'
4
5
  export * as scale from './scale/index.js'
5
6
  export * as stylesSet from './styles-set/index.js'
6
- export * as bem from './bem/index.js'
@@ -8,45 +8,45 @@ export * as clone from './clone/index.js'
8
8
  export * as deleteproperties from './deleteproperties/index.js'
9
9
  export * as getattribute from './getattribute/index.js'
10
10
  export * as getproperties from './getproperties/index.js'
11
+ export * as equals from './equals/index.js'
11
12
  export * as getproperty from './getproperty/index.js'
12
13
  export * as hjparse from './hjparse/index.js'
13
- export * as equals from './equals/index.js'
14
14
  export * as hjstringify from './hjstringify/index.js'
15
15
  export * as if from './if/index.js'
16
16
  export * as initialize from './initialize/index.js'
17
- export * as length from './length/index.js'
18
17
  export * as join from './join/index.js'
18
+ export * as length from './length/index.js'
19
+ export * as map from './map/index.js'
19
20
  export * as negate from './negate/index.js'
20
21
  export * as notrailing from './notrailing/index.js'
21
22
  export * as or from './or/index.js'
22
- export * as populate from './populate/index.js'
23
23
  export * as pickrandom from './pickrandom/index.js'
24
+ export * as populate from './populate/index.js'
24
25
  export * as print from './print/index.js'
25
- export * as map from './map/index.js'
26
- export * as pusheach from './pusheach/index.js'
27
26
  export * as push from './push/index.js'
27
+ export * as pusheach from './pusheach/index.js'
28
28
  export * as recordtoarray from './recordtoarray/index.js'
29
29
  export * as removeattribute from './removeattribute/index.js'
30
- export * as renameproperty from './renameproperty/index.js'
31
30
  export * as removeclass from './removeclass/index.js'
31
+ export * as renameproperty from './renameproperty/index.js'
32
+ export * as select from './select/index.js'
32
33
  export * as replace from './replace/index.js'
33
34
  export * as set from './set/index.js'
34
35
  export * as setattribute from './setattribute/index.js'
35
- export * as select from './select/index.js'
36
- export * as sorton from './sorton/index.js'
37
36
  export * as setproperty from './setproperty/index.js'
37
+ export * as sorton from './sorton/index.js'
38
38
  export * as spread from './spread/index.js'
39
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'
41
42
  export * as toelement from './toelement/index.js'
42
43
  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 tonumber from './tonumber/index.js'
46
- export * as torecord from './torecord/index.js'
47
45
  export * as tonull from './tonull/index.js'
48
- export * as toref from './toref/index.js'
46
+ export * as torecord from './torecord/index.js'
49
47
  export * as tostring from './tostring/index.js'
48
+ export * as toref from './toref/index.js'
50
49
  export * as transformselected from './transformselected/index.js'
51
50
  export * as totext from './totext/index.js'
52
51
  export * as trim from './trim/index.js'
52
+ export * as tonumber from './tonumber/index.js'
@@ -8,45 +8,45 @@ export * as clone from './clone/index.js'
8
8
  export * as deleteproperties from './deleteproperties/index.js'
9
9
  export * as getattribute from './getattribute/index.js'
10
10
  export * as getproperties from './getproperties/index.js'
11
+ export * as equals from './equals/index.js'
11
12
  export * as getproperty from './getproperty/index.js'
12
13
  export * as hjparse from './hjparse/index.js'
13
- export * as equals from './equals/index.js'
14
14
  export * as hjstringify from './hjstringify/index.js'
15
15
  export * as if from './if/index.js'
16
16
  export * as initialize from './initialize/index.js'
17
- export * as length from './length/index.js'
18
17
  export * as join from './join/index.js'
18
+ export * as length from './length/index.js'
19
+ export * as map from './map/index.js'
19
20
  export * as negate from './negate/index.js'
20
21
  export * as notrailing from './notrailing/index.js'
21
22
  export * as or from './or/index.js'
22
- export * as populate from './populate/index.js'
23
23
  export * as pickrandom from './pickrandom/index.js'
24
+ export * as populate from './populate/index.js'
24
25
  export * as print from './print/index.js'
25
- export * as map from './map/index.js'
26
- export * as pusheach from './pusheach/index.js'
27
26
  export * as push from './push/index.js'
27
+ export * as pusheach from './pusheach/index.js'
28
28
  export * as recordtoarray from './recordtoarray/index.js'
29
29
  export * as removeattribute from './removeattribute/index.js'
30
- export * as renameproperty from './renameproperty/index.js'
31
30
  export * as removeclass from './removeclass/index.js'
31
+ export * as renameproperty from './renameproperty/index.js'
32
+ export * as select from './select/index.js'
32
33
  export * as replace from './replace/index.js'
33
34
  export * as set from './set/index.js'
34
35
  export * as setattribute from './setattribute/index.js'
35
- export * as select from './select/index.js'
36
- export * as sorton from './sorton/index.js'
37
36
  export * as setproperty from './setproperty/index.js'
37
+ export * as sorton from './sorton/index.js'
38
38
  export * as spread from './spread/index.js'
39
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'
41
42
  export * as toelement from './toelement/index.js'
42
43
  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 tonumber from './tonumber/index.js'
46
- export * as torecord from './torecord/index.js'
47
45
  export * as tonull from './tonull/index.js'
48
- export * as toref from './toref/index.js'
46
+ export * as torecord from './torecord/index.js'
49
47
  export * as tostring from './tostring/index.js'
48
+ export * as toref from './toref/index.js'
50
49
  export * as transformselected from './transformselected/index.js'
51
50
  export * as totext from './totext/index.js'
52
51
  export * as trim from './trim/index.js'
52
+ export * as tonumber from './tonumber/index.js'
@@ -5,9 +5,9 @@ export * as element from './element/index.js'
5
5
  export * as get from './get/index.js'
6
6
  export * as guess from './guess/index.js'
7
7
  export * as nodelist from './nodelist/index.js'
8
- export * as null from './null/index.js'
9
8
  export * as number from './number/index.js'
10
9
  export * as record from './record/index.js'
10
+ export * as null from './null/index.js'
11
11
  export * as ref from './ref/index.js'
12
12
  export * as string from './string/index.js'
13
13
  export * as text from './text/index.js'
@@ -5,9 +5,9 @@ export * as element from './element/index.js'
5
5
  export * as get from './get/index.js'
6
6
  export * as guess from './guess/index.js'
7
7
  export * as nodelist from './nodelist/index.js'
8
- export * as null from './null/index.js'
9
8
  export * as number from './number/index.js'
10
9
  export * as record from './record/index.js'
10
+ export * as null from './null/index.js'
11
11
  export * as ref from './ref/index.js'
12
12
  export * as string from './string/index.js'
13
13
  export * as text from './text/index.js'
@@ -1,7 +1,7 @@
1
1
  export * as deepSelect from './deep-select/index.js'
2
2
  export * as getNodeAncestors from './get-node-ancestors/index.js'
3
- export * as hyperJson from './hyper-json/index.js'
4
3
  export * as getPositionInsideParent from './get-position-inside-parent/index.js'
4
+ export * as hyperJson from './hyper-json/index.js'
5
5
  export * as insertNode from './insert-node/index.js'
6
6
  export * as placeholders from './placeholders/index.js'
7
7
  export * as replaceInElement from './replace-in-element/index.js'
@@ -1,7 +1,7 @@
1
1
  export * as deepSelect from './deep-select/index.js'
2
2
  export * as getNodeAncestors from './get-node-ancestors/index.js'
3
- export * as hyperJson from './hyper-json/index.js'
4
3
  export * as getPositionInsideParent from './get-position-inside-parent/index.js'
4
+ export * as hyperJson from './hyper-json/index.js'
5
5
  export * as insertNode from './insert-node/index.js'
6
6
  export * as placeholders from './placeholders/index.js'
7
7
  export * as replaceInElement from './replace-in-element/index.js'
@@ -1,5 +1,5 @@
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
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 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
4
  export * as css from './css/index.js'
5
5
  export * as errors from './errors/index.js'
@@ -1,12 +1,12 @@
1
- export * as cast from './cast/index.js'
2
1
  export * as assert from './assert/index.js'
3
- export * as connection from './connection/index.js'
2
+ export * as cast from './cast/index.js'
4
3
  export * as crawler from './crawler/index.js'
5
4
  export * as crossenv from './crossenv/index.js'
6
- export * as dataSize from './data-size/index.js'
7
5
  export * as isConstructorFunction from './is-constructor-function/index.js'
8
- export * as logs from './logs/index.js'
9
6
  export * as isNullish from './is-nullish/index.js'
10
- export * as normalizeExtension from './normalize-extension/index.js'
7
+ export * as logs from './logs/index.js'
11
8
  export * as loremIpsum from './lorem-ipsum/index.js'
9
+ export * as connection from './connection/index.js'
10
+ export * as dataSize from './data-size/index.js'
12
11
  export * as outcome from './outcome/index.js'
12
+ export * as normalizeExtension from './normalize-extension/index.js'
@@ -1,12 +1,12 @@
1
- export * as cast from './cast/index.js'
2
1
  export * as assert from './assert/index.js'
3
- export * as connection from './connection/index.js'
2
+ export * as cast from './cast/index.js'
4
3
  export * as crawler from './crawler/index.js'
5
4
  export * as crossenv from './crossenv/index.js'
6
- export * as dataSize from './data-size/index.js'
7
5
  export * as isConstructorFunction from './is-constructor-function/index.js'
8
- export * as logs from './logs/index.js'
9
6
  export * as isNullish from './is-nullish/index.js'
10
- export * as normalizeExtension from './normalize-extension/index.js'
7
+ export * as logs from './logs/index.js'
11
8
  export * as loremIpsum from './lorem-ipsum/index.js'
9
+ export * as connection from './connection/index.js'
10
+ export * as dataSize from './data-size/index.js'
12
11
  export * as outcome from './outcome/index.js'
12
+ export * as normalizeExtension from './normalize-extension/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as absoluteModulo from './absolute-modulo/index.js'
2
- export * as clamp from './clamp/index.js'
3
2
  export * as approximateRational from './approximate-rational/index.js'
3
+ export * as clamp from './clamp/index.js'
4
4
  export * as geometricProgressions from './geometric-progressions/index.js'
5
- export * as interpolate from './interpolate/index.js'
6
5
  export * as round from './round/index.js'
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 clamp from './clamp/index.js'
3
2
  export * as approximateRational from './approximate-rational/index.js'
3
+ export * as clamp from './clamp/index.js'
4
4
  export * as geometricProgressions from './geometric-progressions/index.js'
5
- export * as interpolate from './interpolate/index.js'
6
5
  export * as round from './round/index.js'
6
+ export * as interpolate from './interpolate/index.js'
@@ -1,9 +1,9 @@
1
1
  export * as deepGetProperty from './deep-get-property/index.js'
2
2
  export * as enums from './enums/index.js'
3
3
  export * as flattenGetters from './flatten-getters/index.js'
4
- export * as isObject from './is-object/index.js'
5
4
  export * as isRecord from './is-record/index.js'
6
5
  export * as recordFormat from './record-format/index.js'
7
6
  export * as recordMap from './record-map/index.js'
8
7
  export * as sortKeys from './sort-keys/index.js'
9
8
  export * as validation from './validation/index.js'
9
+ export * as isObject from './is-object/index.js'
@@ -1,9 +1,9 @@
1
1
  export * as deepGetProperty from './deep-get-property/index.js'
2
2
  export * as enums from './enums/index.js'
3
3
  export * as flattenGetters from './flatten-getters/index.js'
4
- export * as isObject from './is-object/index.js'
5
4
  export * as isRecord from './is-record/index.js'
6
5
  export * as recordFormat from './record-format/index.js'
7
6
  export * as recordMap from './record-map/index.js'
8
7
  export * as sortKeys from './sort-keys/index.js'
9
8
  export * as validation from './validation/index.js'
9
+ export * as isObject from './is-object/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as fileName from './file-name/index.js'
2
- export * as path from './path/index.js'
3
2
  export * as html from './html/index.js'
3
+ export * as path from './path/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 path from './path/index.js'
3
2
  export * as html from './html/index.js'
3
+ export * as path from './path/index.js'
4
4
  export * as userInput from './user-input/index.js'
@@ -1,8 +1,8 @@
1
- export * as charCodes from './char-codes/index.js'
2
1
  export * as matches from './matches/index.js'
3
2
  export * as normalizeIndent from './normalize-indent/index.js'
3
+ export * as charCodes from './char-codes/index.js'
4
4
  export * as parseTable from './parse-table/index.js'
5
5
  export * as replaceAll from './replace-all/index.js'
6
6
  export * as splitTrim from './split-trim/index.js'
7
- export * as trim from './trim/index.js'
8
7
  export * as toAlphanum from './to-alphanum/index.js'
8
+ export * as trim from './trim/index.js'
@@ -1,8 +1,8 @@
1
- export * as charCodes from './char-codes/index.js'
2
1
  export * as matches from './matches/index.js'
3
2
  export * as normalizeIndent from './normalize-indent/index.js'
3
+ export * as charCodes from './char-codes/index.js'
4
4
  export * as parseTable from './parse-table/index.js'
5
5
  export * as replaceAll from './replace-all/index.js'
6
6
  export * as splitTrim from './split-trim/index.js'
7
- export * as trim from './trim/index.js'
8
7
  export * as toAlphanum from './to-alphanum/index.js'
8
+ export * as trim from './trim/index.js'
@@ -1,5 +1,5 @@
1
+ export * as dates from './dates/index.js'
1
2
  export * as duration from './duration/index.js'
2
- export * as timeout from './timeout/index.js'
3
- export * as transitions from './transitions/index.js'
4
3
  export * as wait from './wait/index.js'
5
- export * as dates from './dates/index.js'
4
+ export * as transitions from './transitions/index.js'
5
+ export * as timeout from './timeout/index.js'
@@ -1,5 +1,5 @@
1
+ export * as dates from './dates/index.js'
1
2
  export * as duration from './duration/index.js'
2
- export * as timeout from './timeout/index.js'
3
- export * as transitions from './transitions/index.js'
4
3
  export * as wait from './wait/index.js'
5
- export * as dates from './dates/index.js'
4
+ export * as transitions from './transitions/index.js'
5
+ export * as timeout from './timeout/index.js'
@@ -1,7 +1,27 @@
1
1
  import { type FunctionComponent, type ButtonHTMLAttributes, type ReactNode } from 'react';
2
2
  import type { WithClassName } from '../utils/types.js';
3
+ /**
4
+ * Props for the {@link Button} component.
5
+ *
6
+ * Extends all native {@link ButtonHTMLAttributes} and {@link WithClassName}
7
+ * with optional label and error content.
8
+ *
9
+ * @property label - Content rendered as the button label.
10
+ * @property error - Content rendered to convey an error state associated with the button.
11
+ * @property className - Additional class name(s) applied to the root element.
12
+ */
3
13
  export type Props = ButtonHTMLAttributes<HTMLButtonElement> & WithClassName<{
4
14
  label?: ReactNode;
5
15
  error?: ReactNode;
6
16
  }>;
17
+ /**
18
+ * Base button component.
19
+ *
20
+ * Renders a native `<button>` element with scoped class names applied.
21
+ * All standard button attributes are forwarded to the underlying element.
22
+ *
23
+ * @param props - Component properties.
24
+ * @see {@link Props}
25
+ * @returns A styled native button element.
26
+ */
7
27
  export declare const Button: FunctionComponent<Props>;
@@ -3,6 +3,16 @@ import { clss } from '../../agnostic/css/clss/index.js';
3
3
  import { mergeClassNames } from '../utils/index.js';
4
4
  import { button as publicClassName } from '../public-classnames.js';
5
5
  import cssModule from './styles.module.css';
6
+ /**
7
+ * Base button component.
8
+ *
9
+ * Renders a native `<button>` element with scoped class names applied.
10
+ * All standard button attributes are forwarded to the underlying element.
11
+ *
12
+ * @param props - Component properties.
13
+ * @see {@link Props}
14
+ * @returns A styled native button element.
15
+ */
6
16
  export const Button = ({ label, error, className, ...rest }) => {
7
17
  const c = clss(publicClassName, { cssModule });
8
18
  const rootClss = mergeClassNames(c(null), className);
@@ -1,7 +1,33 @@
1
1
  import { type FunctionComponent, type InputHTMLAttributes, type ReactNode } from 'react';
2
2
  import type { WithClassName } from '../utils/types.js';
3
+ /**
4
+ * Props for the {@link Input} component.
5
+ *
6
+ * Extends all native {@link InputHTMLAttributes} and {@link WithClassName}
7
+ * with optional label and error content.
8
+ *
9
+ * @property label - Content rendered as an associated `<label>`. When omitted, no label is rendered.
10
+ * @property error - Content rendered as an error message below the input. When omitted, no error is rendered.
11
+ * @property className - Additional class name(s) applied to the root element.
12
+ */
3
13
  export type Props = InputHTMLAttributes<HTMLInputElement> & WithClassName<{
4
14
  label?: ReactNode;
5
15
  error?: ReactNode;
6
16
  }>;
17
+ /**
18
+ * Input field component with optional label and error message.
19
+ *
20
+ * Renders a native `<input>` element inside a wrapper, with a stable
21
+ * auto-generated `id` used to associate the label via `htmlFor`.
22
+ * All standard input attributes are forwarded to the underlying element.
23
+ *
24
+ * ### CSS elements
25
+ * - `label`
26
+ * - `input`
27
+ * - `error`
28
+ *
29
+ * @param props - Component properties.
30
+ * @see {@link Props}
31
+ * @returns A labelled input wrapper with optional error feedback.
32
+ */
7
33
  export declare const Input: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
3
  import { clss } from '../../agnostic/css/clss/index.js';
4
4
  import { isNotFalsy } from '../../agnostic/booleans/is-falsy/index.js';
@@ -6,9 +6,25 @@ import { randomHash } from '../../agnostic/random/uuid/index.js';
6
6
  import { input as publicClassName } from '../public-classnames.js';
7
7
  import { mergeClassNames } from '../utils/index.js';
8
8
  import cssModule from './styles.module.css';
9
+ /**
10
+ * Input field component with optional label and error message.
11
+ *
12
+ * Renders a native `<input>` element inside a wrapper, with a stable
13
+ * auto-generated `id` used to associate the label via `htmlFor`.
14
+ * All standard input attributes are forwarded to the underlying element.
15
+ *
16
+ * ### CSS elements
17
+ * - `label`
18
+ * - `input`
19
+ * - `error`
20
+ *
21
+ * @param props - Component properties.
22
+ * @see {@link Props}
23
+ * @returns A labelled input wrapper with optional error feedback.
24
+ */
9
25
  export const Input = ({ label, error, className, ...rest }) => {
10
26
  const [id] = useState(`_${randomHash(12)}`);
11
27
  const c = clss(publicClassName, { cssModule });
12
28
  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 })] });
29
+ return _jsxs(_Fragment, { children: [isNotFalsy(label) && _jsx("label", { className: c('label'), htmlFor: id, children: label }), _jsx("input", { ...rest, className: rootClss, id: id }), isNotFalsy(error) && _jsx("span", { className: c('error'), children: error })] });
14
30
  };
@@ -5,12 +5,51 @@ type JsonPrimitive = string | number | boolean | null;
5
5
  type JsonValue = JsonPrimitive | JsonValue[] | {
6
6
  [k: string]: JsonValue;
7
7
  };
8
+ /**
9
+ * Props for the {@link JsonEditor} component.
10
+ *
11
+ * @property defaultValue - Initial JSON value rendered by the editor. Defaults to `null`.
12
+ * @property onChange - Called after any value change with the updated JSON value.
13
+ * @property onValidationError - Called when the updated value fails schema validation,
14
+ * with the list of Zod issues. Not called when no `schema` is provided.
15
+ * @property schema - Optional Zod schema used to validate the value after each change.
16
+ * When provided, validation runs after `onChange` is dispatched.
17
+ * @property className - Additional class name(s) applied to the root element.
18
+ */
8
19
  export type Props = WithClassName<{
9
20
  defaultValue?: JsonValue;
10
21
  onChange?: (val: JsonValue) => void;
11
22
  onValidationError?: (issues: core.$ZodIssue[]) => void;
12
23
  schema?: ZodType<JsonValue>;
13
24
  }>;
25
+ /**
26
+ * Interactive JSON editor component.
27
+ *
28
+ * Renders a recursive value editor tree alongside a live JSON preview.
29
+ * Supports all JSON value types: strings, numbers, booleans, null, arrays,
30
+ * and records. Each node exposes a type selector and a type-appropriate input.
31
+ *
32
+ * When a `schema` is provided, the current value is validated against it after
33
+ * every change. Validation errors are reported through `onValidationError` and
34
+ * do not block editing.
35
+ *
36
+ * ### CSS elements
37
+ * - `value` — wraps each node in the editor tree; receives a type modifier
38
+ * matching the current value type (`string`, `number`, `boolean`, `null`, `array`, `record`).
39
+ * - `type` — the type selector control.
40
+ * - `string`, `number`, `boolean`, `null` — primitive value inputs.
41
+ * - `record` — record entry list.
42
+ * - `array` — array entry list items.
43
+ * - `prop-name` — key input for record entries.
44
+ * - `create-prop` — button to append a new entry to a record or array.
45
+ * - `delete-prop` — button to remove an existing entry.
46
+ * - `lift-prop` — button to move an array entry up.
47
+ * - `drop-prop` — button to move an array entry down.
48
+ *
49
+ * @param props - Component properties.
50
+ * @see {@link Props}
51
+ * @returns A recursive JSON value editor with a live serialized preview.
52
+ */
14
53
  export declare const JsonEditor: FunctionComponent<Props>;
15
54
  export declare const ValueEditor: FunctionComponent<{
16
55
  defaultValue?: JsonValue;
@@ -10,7 +10,36 @@ import { Textarea } from '../Textarea/index.js';
10
10
  import { mergeClassNames } from '../utils/index.js';
11
11
  import { jsonEditor as publicClassName } from '../public-classnames.js';
12
12
  import cssModule from './styles.module.css';
13
+ /* Shared across all sub components */
13
14
  const c = clss(publicClassName, { cssModule });
15
+ /**
16
+ * Interactive JSON editor component.
17
+ *
18
+ * Renders a recursive value editor tree alongside a live JSON preview.
19
+ * Supports all JSON value types: strings, numbers, booleans, null, arrays,
20
+ * and records. Each node exposes a type selector and a type-appropriate input.
21
+ *
22
+ * When a `schema` is provided, the current value is validated against it after
23
+ * every change. Validation errors are reported through `onValidationError` and
24
+ * do not block editing.
25
+ *
26
+ * ### CSS elements
27
+ * - `value` — wraps each node in the editor tree; receives a type modifier
28
+ * matching the current value type (`string`, `number`, `boolean`, `null`, `array`, `record`).
29
+ * - `type` — the type selector control.
30
+ * - `string`, `number`, `boolean`, `null` — primitive value inputs.
31
+ * - `record` — record entry list.
32
+ * - `array` — array entry list items.
33
+ * - `prop-name` — key input for record entries.
34
+ * - `create-prop` — button to append a new entry to a record or array.
35
+ * - `delete-prop` — button to remove an existing entry.
36
+ * - `lift-prop` — button to move an array entry up.
37
+ * - `drop-prop` — button to move an array entry down.
38
+ *
39
+ * @param props - Component properties.
40
+ * @see {@link Props}
41
+ * @returns A recursive JSON value editor with a live serialized preview.
42
+ */
14
43
  export const JsonEditor = ({ defaultValue = null, onChange, onValidationError, schema, className }) => {
15
44
  const [value, setValue] = useState(defaultValue);
16
45
  const setValueAndDispatch = (val) => {
@@ -31,6 +60,11 @@ export const JsonEditor = ({ defaultValue = null, onChange, onValidationError, s
31
60
  const rootClss = mergeClassNames(c(null, {}), className);
32
61
  return _jsxs("div", { className: rootClss, children: [_jsx(ValueEditor, { defaultValue: defaultValue, onChange: val => setValueAndDispatch(val), path: [] }), _jsx("pre", { children: JSON.stringify(value, null, 2) })] });
33
62
  };
63
+ /* * * * * * * * * * * * * * * * *
64
+ *
65
+ * Value
66
+ *
67
+ * * * * * * * * * * * * * * * * */
34
68
  export const ValueEditor = ({ defaultValue = {}, onChange, path = [] }) => {
35
69
  // State
36
70
  const [value, setValue] = useState(defaultValue);
@@ -71,12 +105,37 @@ export const ValueEditor = ({ defaultValue = {}, onChange, path = [] }) => {
71
105
  const pathStringDataAttr = (path ?? []).map(e => e.toString()).join('.');
72
106
  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
107
  };
108
+ /* * * * * * * * * * * * * * * * *
109
+ *
110
+ * String
111
+ *
112
+ * * * * * * * * * * * * * * * * */
74
113
  const StringEditor = (props) => props.type === 'textarea'
75
114
  ? _jsx(Textarea, { className: c('string'), defaultValue: props.defaultValue ?? '', onChange: props.onChange })
76
115
  : _jsx(Input, { type: 'text', className: c('string'), defaultValue: props.defaultValue ?? '', onChange: props.onChange });
116
+ /* * * * * * * * * * * * * * * * *
117
+ *
118
+ * Number
119
+ *
120
+ * * * * * * * * * * * * * * * * */
77
121
  const NumberEditor = (props) => _jsx(Input, { className: c('number'), type: 'number', defaultValue: props.defaultValue ?? 0, onChange: props.onChange });
122
+ /* * * * * * * * * * * * * * * * *
123
+ *
124
+ * Boolean
125
+ *
126
+ * * * * * * * * * * * * * * * * */
78
127
  const BooleanEditor = (props) => _jsx(Input, { className: c('boolean'), type: 'checkbox', defaultChecked: props.defaultValue ?? false, onChange: props.onChange });
128
+ /* * * * * * * * * * * * * * * * *
129
+ *
130
+ * Null
131
+ *
132
+ * * * * * * * * * * * * * * * * */
79
133
  const NullEditor = () => _jsx("span", { className: c('null'), children: "null" });
134
+ /* * * * * * * * * * * * * * * * *
135
+ *
136
+ * Record
137
+ *
138
+ * * * * * * * * * * * * * * * * */
80
139
  const RecordEditor = ({ defaultValue = {}, onChange, path }) => {
81
140
  const [value, setValue] = useState(new Map(Object
82
141
  .entries(defaultValue)
@@ -124,6 +183,11 @@ const RecordEditor = ({ defaultValue = {}, onChange, path }) => {
124
183
  };
125
184
  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
185
  };
186
+ /* * * * * * * * * * * * * * * * *
187
+ *
188
+ * Array
189
+ *
190
+ * * * * * * * * * * * * * * * * */
127
191
  const ArrayEditor = ({ defaultValue = [], onChange, path }) => {
128
192
  const [value, setValue] = useState(new Map(defaultValue.map(val => [randomHash(8), val])));
129
193
  const setValueAndDispatch = (newValue) => {
@@ -1,7 +1,34 @@
1
1
  import { type FunctionComponent, type SelectHTMLAttributes, type ReactNode, type PropsWithChildren } from 'react';
2
2
  import type { WithClassName } from '../utils/types.js';
3
+ /**
4
+ * Props for the {@link Select} component.
5
+ *
6
+ * Extends all native {@link SelectHTMLAttributes} and {@link WithClassName}
7
+ * with optional label, error content, and option children.
8
+ *
9
+ * @property label - Content rendered as an associated `<label>`. When omitted, no label is rendered.
10
+ * @property error - Content rendered as an error message below the select. When omitted, no error is rendered.
11
+ * @property className - Additional class name(s) applied to the root element.
12
+ * @property children - `<option>` or `<optgroup>` elements rendered inside the select.
13
+ */
3
14
  export type Props = SelectHTMLAttributes<HTMLSelectElement> & PropsWithChildren<WithClassName<{
4
15
  label?: ReactNode;
5
16
  error?: ReactNode;
6
17
  }>>;
18
+ /**
19
+ * Select field component with optional label and error message.
20
+ *
21
+ * Renders a native `<select>` element inside a wrapper, with a stable
22
+ * auto-generated `id` used to associate the label via `htmlFor`.
23
+ * All standard select attributes are forwarded to the underlying element.
24
+ *
25
+ * ### CSS elements
26
+ * - `label`
27
+ * - `select`
28
+ * - `error`
29
+ *
30
+ * @param props - Component properties.
31
+ * @see {@link Props}
32
+ * @returns A labelled select wrapper with optional error feedback.
33
+ */
7
34
  export declare const Select: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
3
  import { clss } from '../../agnostic/css/clss/index.js';
4
4
  import { isNotFalsy } from '../../agnostic/booleans/is-falsy/index.js';
@@ -6,9 +6,25 @@ import { randomHash } from '../../agnostic/random/uuid/index.js';
6
6
  import { select as publicClassName } from '../public-classnames.js';
7
7
  import { mergeClassNames } from '../utils/index.js';
8
8
  import cssModule from './styles.module.css';
9
+ /**
10
+ * Select field component with optional label and error message.
11
+ *
12
+ * Renders a native `<select>` element inside a wrapper, with a stable
13
+ * auto-generated `id` used to associate the label via `htmlFor`.
14
+ * All standard select attributes are forwarded to the underlying element.
15
+ *
16
+ * ### CSS elements
17
+ * - `label`
18
+ * - `select`
19
+ * - `error`
20
+ *
21
+ * @param props - Component properties.
22
+ * @see {@link Props}
23
+ * @returns A labelled select wrapper with optional error feedback.
24
+ */
9
25
  export const Select = ({ label, error, className, children, ...rest }) => {
10
26
  const [id] = useState(`_${randomHash(12)}`);
11
27
  const c = clss(publicClassName, { cssModule });
12
28
  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 })] });
29
+ return _jsxs(_Fragment, { children: [isNotFalsy(label) && _jsx("label", { className: c('label'), htmlFor: id, children: label }), _jsx("select", { ...rest, className: rootClss, id: id, children: children }), isNotFalsy(error) && _jsx("span", { className: c('error'), children: error })] });
14
30
  };
@@ -1,7 +1,33 @@
1
1
  import { type FunctionComponent, type TextareaHTMLAttributes, type ReactNode } from 'react';
2
2
  import type { WithClassName } from '../utils/types.js';
3
+ /**
4
+ * Props for the {@link Textarea} component.
5
+ *
6
+ * Extends all native {@link TextareaHTMLAttributes} and {@link WithClassName}
7
+ * with optional label and error content.
8
+ *
9
+ * @property label - Content rendered as an associated `<label>`. When omitted, no label is rendered.
10
+ * @property error - Content rendered as an error message below the textarea. When omitted, no error is rendered.
11
+ * @property className - Additional class name(s) applied to the root element.
12
+ */
3
13
  export type Props = TextareaHTMLAttributes<HTMLTextAreaElement> & WithClassName<{
4
14
  label?: ReactNode;
5
15
  error?: ReactNode;
6
16
  }>;
17
+ /**
18
+ * Textarea field component with optional label and error message.
19
+ *
20
+ * Renders a native `<textarea>` element inside a wrapper, with a stable
21
+ * auto-generated `id` used to associate the label via `htmlFor`.
22
+ * All standard textarea attributes are forwarded to the underlying element.
23
+ *
24
+ * ### CSS elements
25
+ * - `label`
26
+ * - `textarea`
27
+ * - `error`
28
+ *
29
+ * @param props - Component properties.
30
+ * @see {@link Props}
31
+ * @returns A labelled textarea wrapper with optional error feedback.
32
+ */
7
33
  export declare const Textarea: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
3
  import { clss } from '../../agnostic/css/clss/index.js';
4
4
  import { isNotFalsy } from '../../agnostic/booleans/is-falsy/index.js';
@@ -6,9 +6,25 @@ import { randomHash } from '../../agnostic/random/uuid/index.js';
6
6
  import { textarea as publicClassName } from '../public-classnames.js';
7
7
  import { mergeClassNames } from '../utils/index.js';
8
8
  import cssModule from './styles.module.css';
9
+ /**
10
+ * Textarea field component with optional label and error message.
11
+ *
12
+ * Renders a native `<textarea>` element inside a wrapper, with a stable
13
+ * auto-generated `id` used to associate the label via `htmlFor`.
14
+ * All standard textarea attributes are forwarded to the underlying element.
15
+ *
16
+ * ### CSS elements
17
+ * - `label`
18
+ * - `textarea`
19
+ * - `error`
20
+ *
21
+ * @param props - Component properties.
22
+ * @see {@link Props}
23
+ * @returns A labelled textarea wrapper with optional error feedback.
24
+ */
9
25
  export const Textarea = ({ label, error, className, ...rest }) => {
10
26
  const [id] = useState(`_${randomHash(12)}`);
11
27
  const c = clss(publicClassName, { cssModule });
12
28
  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 })] });
29
+ return _jsxs(_Fragment, { children: [isNotFalsy(label) && _jsx("label", { className: c('label'), htmlFor: id, children: label }), _jsx("textarea", { ...rest, className: rootClss, id: id }), isNotFalsy(error) && _jsx("span", { className: c('error'), children: error })] });
14
30
  };
@@ -1,8 +1,8 @@
1
1
  export * as beforeAfter from './BeforeAfter/index.js'
2
2
  export * as button from './Button/index.js'
3
3
  export * as clippable from './Clippable/index.js'
4
- export * as drawer from './Drawer/index.js'
5
4
  export * as disclaimer from './Disclaimer/index.js'
5
+ export * as drawer from './Drawer/index.js'
6
6
  export * as eventListener from './EventListener/index.js'
7
7
  export * as gallery from './Gallery/index.js'
8
8
  export * as iframe from './Iframe/index.js'
@@ -1,8 +1,8 @@
1
1
  export * as beforeAfter from './BeforeAfter/index.js'
2
2
  export * as button from './Button/index.js'
3
3
  export * as clippable from './Clippable/index.js'
4
- export * as drawer from './Drawer/index.js'
5
4
  export * as disclaimer from './Disclaimer/index.js'
5
+ export * as drawer from './Drawer/index.js'
6
6
  export * as eventListener from './EventListener/index.js'
7
7
  export * as gallery from './Gallery/index.js'
8
8
  export * as iframe from './Iframe/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
- export * as list from './list/index.js'
3
2
  export * as moveDir from './move-dir/index.js'
3
+ export * as list from './list/index.js'
4
4
  export * as removeDir from './remove-dir/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
- export * as list from './list/index.js'
3
2
  export * as moveDir from './move-dir/index.js'
3
+ export * as list from './list/index.js'
4
4
  export * as removeDir from './remove-dir/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as copy from './copy/index.js'
2
- export * as download from './download/index.js'
3
2
  export * as exists from './exists/index.js'
3
+ export * as download from './download/index.js'
4
4
  export * as move from './move/index.js'
5
5
  export * as remove from './remove/index.js'
6
6
  export * as stat from './stat/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as copy from './copy/index.js'
2
- export * as download from './download/index.js'
3
2
  export * as exists from './exists/index.js'
3
+ export * as download from './download/index.js'
4
4
  export * as move from './move/index.js'
5
5
  export * as remove from './remove/index.js'
6
6
  export * as stat from './stat/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
- export * as list from './list/index.js'
3
2
  export * as moveDir from './move-dir/index.js'
3
+ export * as list from './list/index.js'
4
4
  export * as removeDir from './remove-dir/index.js'
@@ -1,4 +1,4 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
- export * as list from './list/index.js'
3
2
  export * as moveDir from './move-dir/index.js'
3
+ export * as list from './list/index.js'
4
4
  export * as removeDir from './remove-dir/index.js'
@@ -1,6 +1,6 @@
1
- export * as copy from './copy/index.js'
2
1
  export * as download from './download/index.js'
3
2
  export * as exists from './exists/index.js'
3
+ export * as copy from './copy/index.js'
4
4
  export * as generateSignedUrl from './generate-signed-url/index.js'
5
5
  export * as getMetadata from './get-metadata/index.js'
6
6
  export * as getPermissions from './get-permissions/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 upload from './upload/index.js'
12
11
  export * as updateMetadata from './update-metadata/index.js'
12
+ export * as upload from './upload/index.js'
@@ -1,6 +1,6 @@
1
- export * as copy from './copy/index.js'
2
1
  export * as download from './download/index.js'
3
2
  export * as exists from './exists/index.js'
3
+ export * as copy from './copy/index.js'
4
4
  export * as generateSignedUrl from './generate-signed-url/index.js'
5
5
  export * as getMetadata from './get-metadata/index.js'
6
6
  export * as getPermissions from './get-permissions/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 upload from './upload/index.js'
12
11
  export * as updateMetadata from './update-metadata/index.js'
12
+ export * as upload from './upload/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as bucket from './bucket/index.js'
2
- export * as directory from './directory/index.js'
3
2
  export * as file from './file/index.js'
3
+ export * as directory from './directory/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as bucket from './bucket/index.js'
2
- export * as directory from './directory/index.js'
3
2
  export * as file from './file/index.js'
3
+ export * as directory from './directory/index.js'
@@ -1,5 +1,5 @@
1
- export * as copyDir from './copy-dir/index.js'
2
1
  export * as copyFile from './copy-file/index.js'
2
+ export * as copyDir from './copy-dir/index.js'
3
3
  export * as downloadFile from './download-file/index.js'
4
4
  export * as existsFile from './exists-file/index.js'
5
5
  export * as listDir from './list-dir/index.js'
@@ -1,5 +1,5 @@
1
- export * as copyDir from './copy-dir/index.js'
2
1
  export * as copyFile from './copy-file/index.js'
2
+ export * as copyDir from './copy-dir/index.js'
3
3
  export * as downloadFile from './download-file/index.js'
4
4
  export * as existsFile from './exists-file/index.js'
5
5
  export * as listDir from './list-dir/index.js'
@@ -1,5 +1,5 @@
1
1
  export * as create from './create/index.js'
2
+ export * as format from './format/index.js'
2
3
  export * as metadata from './metadata/index.js'
3
4
  export * as transform from './transform/index.js'
4
5
  export * as utils from './utils/index.js'
5
- export * as format from './format/index.js'
@@ -1,5 +1,5 @@
1
1
  export * as create from './create/index.js'
2
+ export * as format from './format/index.js'
2
3
  export * as metadata from './metadata/index.js'
3
4
  export * as transform from './transform/index.js'
4
5
  export * as utils from './utils/index.js'
5
- export * as format from './format/index.js'
@@ -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'
13
14
  export * as rotate from './rotate/index.js'
14
15
  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'
13
14
  export * as rotate from './rotate/index.js'
14
15
  export * as saturate from './saturate/index.js'
15
- export * as resize from './resize/index.js'
package/node/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * as awsS3 from './@aws-s3/index.js'
2
1
  export * as designEdito from './@design-edito/index.js'
2
+ export * as awsS3 from './@aws-s3/index.js'
3
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'
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * as awsS3 from './@aws-s3/index.js'
2
1
  export * as designEdito from './@design-edito/index.js'
2
+ export * as awsS3 from './@aws-s3/index.js'
3
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'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.4.20",
3
+ "version": "0.4.22",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",