@design-edito/tools 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agnostic/colors/index.d.ts +2 -2
- package/agnostic/colors/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/index.js +2 -2
- package/agnostic/html/index.d.ts +1 -1
- package/agnostic/html/index.js +1 -1
- package/agnostic/index.d.ts +2 -2
- package/agnostic/index.js +2 -2
- package/agnostic/misc/index.d.ts +1 -1
- package/agnostic/misc/index.js +1 -1
- package/agnostic/misc/logs/index.d.ts +1 -1
- package/agnostic/misc/logs/index.js +1 -1
- package/agnostic/numbers/index.d.ts +2 -2
- package/agnostic/numbers/index.js +2 -2
- package/agnostic/objects/index.d.ts +1 -1
- package/agnostic/objects/index.js +1 -1
- package/agnostic/strings/index.d.ts +2 -2
- package/agnostic/strings/index.js +2 -2
- package/components/Clippable/index.d.ts +6 -2
- package/components/Clippable/index.js +8 -4
- package/components/Drawer/index.d.ts +6 -0
- package/components/Drawer/index.js +3 -1
- package/components/Gallery/index.d.ts +6 -0
- package/components/Gallery/index.js +3 -1
- package/components/Paginator/index.d.ts +5 -0
- package/components/Paginator/index.js +2 -1
- package/components/Scrllgngn/index.d.ts +35 -2
- package/components/Scrllgngn/index.js +160 -12
- package/components/Scrllgngn/utils.d.ts +138 -3
- package/components/Scrllgngn/utils.js +197 -4
- package/components/ScrollListener/index.d.ts +7 -0
- package/components/ScrollListener/index.js +22 -2
- package/components/ScrollListener/utils.d.ts +8 -0
- package/components/ScrollListener/utils.js +11 -0
- package/components/Sequencer/index.d.ts +8 -0
- package/components/Sequencer/index.js +19 -2
- package/components/Theatre/index.d.ts +16 -6
- package/components/Theatre/index.js +15 -8
- package/components/index.d.ts +6 -6
- package/components/index.js +6 -6
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/node/@aws-s3/storage/directory/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/index.js +1 -1
- package/node/@aws-s3/storage/index.d.ts +1 -1
- package/node/@aws-s3/storage/index.js +1 -1
- package/node/@google-cloud/storage/directory/index.d.ts +2 -2
- package/node/@google-cloud/storage/directory/index.js +2 -2
- package/node/@google-cloud/storage/file/index.d.ts +4 -4
- package/node/@google-cloud/storage/file/index.js +4 -4
- package/node/cloud-storage/operations/index.d.ts +1 -1
- package/node/cloud-storage/operations/index.js +1 -1
- package/node/ftps/file/index.d.ts +2 -2
- package/node/ftps/file/index.js +2 -2
- package/node/images/index.d.ts +1 -1
- package/node/images/index.js +1 -1
- package/node/images/transform/operations/index.d.ts +1 -1
- package/node/images/transform/operations/index.js +1 -1
- package/node/index.d.ts +1 -1
- package/node/index.js +1 -1
- package/node/process/index.d.ts +1 -1
- package/node/process/index.js +1 -1
- package/node/sftp/file/index.d.ts +1 -1
- package/node/sftp/file/index.js +1 -1
- package/node/sftp/index.d.ts +1 -1
- package/node/sftp/index.js +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { randomHash } from '../../agnostic/random/uuid/index.js';
|
|
|
5
5
|
import { IntersectionObserverComponent } from '../IntersectionObserver/index.js';
|
|
6
6
|
import { mergeClassNames, useChangeDispatch } from '../utils/index.js';
|
|
7
7
|
import { scrollListener as publicClassName } from '../public-classnames.js';
|
|
8
|
-
import { subscribe, toScrollCssProps, unsubscribe } from './utils.js';
|
|
8
|
+
import { getScrollProgress, subscribe, toScrollCssProps, unsubscribe } from './utils.js';
|
|
9
9
|
import cssModule from './styles.module.css';
|
|
10
10
|
/**
|
|
11
11
|
* Exposes scroll metrics — both the document's and its own — as CSS custom
|
|
@@ -45,13 +45,33 @@ import cssModule from './styles.module.css';
|
|
|
45
45
|
* for everyone, each element only for itself. The listeners exist only while at
|
|
46
46
|
* least one instance is tracking.
|
|
47
47
|
*/
|
|
48
|
-
export const ScrollListener = ({ startOnVisible, stopOnHidden, onScrollStateChanged, onVisibilityChanged, className, children }) => {
|
|
48
|
+
export const ScrollListener = ({ startOnVisible, stopOnHidden, onScrollStateChanged, onVisibilityChanged, onScrollProgressChanged, onScrollDirectionChanged, className, children }) => {
|
|
49
49
|
// State & refs
|
|
50
50
|
const [subscriberId] = useState(() => randomHash(6));
|
|
51
51
|
const [scrollState, setScrollState] = useState();
|
|
52
|
+
const [scrollDirection, setScrollDirection] = useState(null);
|
|
52
53
|
const rootRef = useRef(null);
|
|
54
|
+
const previousScrollYRef = useRef(null);
|
|
55
|
+
const scrollProgress = scrollState === undefined
|
|
56
|
+
? undefined
|
|
57
|
+
: getScrollProgress(scrollState).y;
|
|
53
58
|
// State dispatch
|
|
54
59
|
useChangeDispatch(scrollState, onScrollStateChanged);
|
|
60
|
+
useChangeDispatch(scrollProgress, progress => { if (progress !== undefined)
|
|
61
|
+
onScrollProgressChanged?.(progress); });
|
|
62
|
+
useChangeDispatch(scrollDirection, direction => { if (direction !== null)
|
|
63
|
+
onScrollDirectionChanged?.(direction); });
|
|
64
|
+
// Fx. dep. `scrollState` - derive the document scroll direction
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
if (scrollState === undefined)
|
|
67
|
+
return;
|
|
68
|
+
const y = scrollState.global.scroll.y;
|
|
69
|
+
const previous = previousScrollYRef.current;
|
|
70
|
+
previousScrollYRef.current = y;
|
|
71
|
+
if (previous === null || y === previous)
|
|
72
|
+
return;
|
|
73
|
+
setScrollDirection(y > previous ? 'down' : 'up');
|
|
74
|
+
}, [scrollState]);
|
|
55
75
|
// Fx. no dep. - track from mount, unless waiting for the component to show up.
|
|
56
76
|
// The cleanup runs whichever way the subscription was opened.
|
|
57
77
|
useEffect(() => {
|
|
@@ -79,6 +79,14 @@ export declare function subscribe(id: string, subscriber: Subscriber): void;
|
|
|
79
79
|
* @param id - The id passed to {@link subscribe}.
|
|
80
80
|
*/
|
|
81
81
|
export declare function unsubscribe(id: string): void;
|
|
82
|
+
/**
|
|
83
|
+
* The element's outer scroll progress on each axis — `0` when it is about to
|
|
84
|
+
* enter the viewport, `1` once it has fully left it.
|
|
85
|
+
*/
|
|
86
|
+
export declare function getScrollProgress(scrollState: ScrollState): {
|
|
87
|
+
x: number;
|
|
88
|
+
y: number;
|
|
89
|
+
};
|
|
82
90
|
/**
|
|
83
91
|
* Builds the CSS custom properties exposed on a {@link ScrollListener} root.
|
|
84
92
|
*
|
|
@@ -116,6 +116,17 @@ function outerRange(offset, size, winSize) {
|
|
|
116
116
|
function progressIn(scroll, [from, to]) {
|
|
117
117
|
return (scroll - from) / Math.max(to - from, 1);
|
|
118
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* The element's outer scroll progress on each axis — `0` when it is about to
|
|
121
|
+
* enter the viewport, `1` once it has fully left it.
|
|
122
|
+
*/
|
|
123
|
+
export function getScrollProgress(scrollState) {
|
|
124
|
+
const { global: { win, scroll }, local } = scrollState;
|
|
125
|
+
return {
|
|
126
|
+
x: progressIn(scroll.x, outerRange(local.offsetX, local.width, win.width)),
|
|
127
|
+
y: progressIn(scroll.y, outerRange(local.offsetY, local.height, win.height))
|
|
128
|
+
};
|
|
129
|
+
}
|
|
119
130
|
/**
|
|
120
131
|
* Builds the CSS custom properties exposed on a {@link ScrollListener} root.
|
|
121
132
|
*
|
|
@@ -36,6 +36,11 @@ import { type Props as ControlledProps } from './index.controlled.js';
|
|
|
36
36
|
* with the new value.
|
|
37
37
|
* @property onStepChanged - Called after the forwarded step changed, with the
|
|
38
38
|
* new value.
|
|
39
|
+
* @property onLooped - Called when the step wraps around (either direction),
|
|
40
|
+
* only while `loop` is `true`.
|
|
41
|
+
* @property onReachedFirstStep - Called when the forwarded step becomes `0`.
|
|
42
|
+
* @property onReachedLastStep - Called when the forwarded step becomes the last
|
|
43
|
+
* one.
|
|
39
44
|
*/
|
|
40
45
|
export type Props = Omit<ControlledProps, 'isPlaying' | 'tempo'> & {
|
|
41
46
|
defaultStep?: number;
|
|
@@ -51,6 +56,9 @@ export type Props = Omit<ControlledProps, 'isPlaying' | 'tempo'> & {
|
|
|
51
56
|
onIntersected?: IOCompProps['onIntersected'];
|
|
52
57
|
onIsPlayingChanged?: (isPlaying: boolean) => void;
|
|
53
58
|
onStepChanged?: (step: number) => void;
|
|
59
|
+
onLooped?: () => void;
|
|
60
|
+
onReachedFirstStep?: () => void;
|
|
61
|
+
onReachedLastStep?: () => void;
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
56
64
|
* Uncontrolled, self-advancing sequencer component. Drives a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect, useCallback, Children } from 'react';
|
|
2
|
+
import { useState, useEffect, useCallback, useRef, Children } from 'react';
|
|
3
3
|
import { absoluteModulo } from '../../agnostic/numbers/absolute-modulo/index.js';
|
|
4
4
|
import { clamp } from '../../agnostic/numbers/clamp/index.js';
|
|
5
5
|
import { IntersectionObserverComponent } from '../IntersectionObserver/index.js';
|
|
@@ -30,7 +30,7 @@ import { ControlledSequencer } from './index.controlled.js';
|
|
|
30
30
|
* @returns An {@link IntersectionObserverComponent} wrapping a
|
|
31
31
|
* {@link ControlledSequencer} with the computed step and modifiers applied.
|
|
32
32
|
*/
|
|
33
|
-
export const Sequencer = ({ defaultStep, tempo = 60, play, loop, clampFirst, clampLast, resetOnVisible, resetOnHidden, playOnVisible, pauseOnHidden, onIntersected, onIsPlayingChanged, onStepChanged, ...controlledProps }) => {
|
|
33
|
+
export const Sequencer = ({ defaultStep, tempo = 60, play, loop, clampFirst, clampLast, resetOnVisible, resetOnHidden, playOnVisible, pauseOnHidden, onIntersected, onIsPlayingChanged, onStepChanged, onLooped, onReachedFirstStep, onReachedLastStep, ...controlledProps }) => {
|
|
34
34
|
// State
|
|
35
35
|
const { step, activateOnStep, children } = controlledProps;
|
|
36
36
|
const [internalPlay, setInternalPlay] = useState(play ?? false);
|
|
@@ -63,6 +63,23 @@ export const Sequencer = ({ defaultStep, tempo = 60, play, loop, clampFirst, cla
|
|
|
63
63
|
// State dispatch
|
|
64
64
|
useChangeDispatch(actualPlay, onIsPlayingChanged);
|
|
65
65
|
useChangeDispatch(forwardedStep, onStepChanged);
|
|
66
|
+
// Fx. dep. `forwardedStep` - loop / boundary events
|
|
67
|
+
const previousStepsRef = useRef(null);
|
|
68
|
+
useEffect(() => {
|
|
69
|
+
if (stepsCount <= 0)
|
|
70
|
+
return;
|
|
71
|
+
const previous = previousStepsRef.current;
|
|
72
|
+
previousStepsRef.current = { forwarded: forwardedStep, actual: actualStep };
|
|
73
|
+
if (previous === null)
|
|
74
|
+
return;
|
|
75
|
+
const lapChanged = Math.floor(actualStep / stepsCount) !== Math.floor(previous.actual / stepsCount);
|
|
76
|
+
if (loop === true && lapChanged)
|
|
77
|
+
onLooped?.();
|
|
78
|
+
if (forwardedStep === 0 && previous.forwarded !== 0)
|
|
79
|
+
onReachedFirstStep?.();
|
|
80
|
+
if (forwardedStep === stepsCount - 1 && previous.forwarded !== stepsCount - 1)
|
|
81
|
+
onReachedLastStep?.();
|
|
82
|
+
}, [forwardedStep, actualStep, stepsCount, loop]);
|
|
66
83
|
// Action handlers
|
|
67
84
|
const handleIntersection = useCallback(({ ioEntry, observer }) => {
|
|
68
85
|
onIntersected?.({ ioEntry, observer });
|
|
@@ -13,9 +13,16 @@ import type { WithClassName } from '../utils/types.js';
|
|
|
13
13
|
* open counts as a toggle.
|
|
14
14
|
* @property exitOnBgClick - When `true`, clicking the stage background — and
|
|
15
15
|
* not its content — counts as a toggle.
|
|
16
|
-
* @property
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* @property onOpenButtonClicked - Called when the open button is clicked, before
|
|
17
|
+
* the theatre reacts, with the state as it was.
|
|
18
|
+
* @property onCloseButtonClicked - Called when the close button is clicked,
|
|
19
|
+
* before the theatre reacts, with the state as it was.
|
|
20
|
+
* @property onBackgroundClicked - Called when the stage background is clicked
|
|
21
|
+
* (only while `exitOnBgClick` is `true`), before the theatre reacts, with the
|
|
22
|
+
* state as it was.
|
|
23
|
+
* @property onEscapePressed - Called when `Escape` is pressed while the stage is
|
|
24
|
+
* open (only while `exitOnEscape` is `true`), before the theatre reacts, with
|
|
25
|
+
* the state as it was.
|
|
19
26
|
* @property onIsOnChanged - Called after the theatre mode changed, with the new
|
|
20
27
|
* value.
|
|
21
28
|
* @property className - Optional additional class name(s) applied to the root element.
|
|
@@ -29,7 +36,10 @@ export type Props = PropsWithChildren<WithClassName<{
|
|
|
29
36
|
defaultIsOn?: boolean;
|
|
30
37
|
exitOnEscape?: boolean;
|
|
31
38
|
exitOnBgClick?: boolean;
|
|
32
|
-
|
|
39
|
+
onOpenButtonClicked?: (isOn: boolean) => void;
|
|
40
|
+
onCloseButtonClicked?: (isOn: boolean) => void;
|
|
41
|
+
onBackgroundClicked?: (isOn: boolean) => void;
|
|
42
|
+
onEscapePressed?: (isOn: boolean) => void;
|
|
33
43
|
onIsOnChanged?: (isOn: boolean) => void;
|
|
34
44
|
}>>;
|
|
35
45
|
/**
|
|
@@ -53,8 +63,8 @@ export type Props = PropsWithChildren<WithClassName<{
|
|
|
53
63
|
* @remarks
|
|
54
64
|
* - In controlled mode (`isOn` defined), the state is fully driven by the
|
|
55
65
|
* parent and internal state is never updated.
|
|
56
|
-
* -
|
|
57
|
-
*
|
|
66
|
+
* - The four toggle-source handlers fire in both modes — a controlled parent
|
|
67
|
+
* needs them to know a toggle was requested at all.
|
|
58
68
|
* - `onIsOnChanged` fires in both modes too, and never on mount.
|
|
59
69
|
*/
|
|
60
70
|
export declare const Theatre: FunctionComponent<Props>;
|
|
@@ -25,11 +25,11 @@ import cssModule from './styles.module.css';
|
|
|
25
25
|
* @remarks
|
|
26
26
|
* - In controlled mode (`isOn` defined), the state is fully driven by the
|
|
27
27
|
* parent and internal state is never updated.
|
|
28
|
-
* -
|
|
29
|
-
*
|
|
28
|
+
* - The four toggle-source handlers fire in both modes — a controlled parent
|
|
29
|
+
* needs them to know a toggle was requested at all.
|
|
30
30
|
* - `onIsOnChanged` fires in both modes too, and never on mount.
|
|
31
31
|
*/
|
|
32
|
-
export const Theatre = ({ closeBtnContent, openBtnContent, isOn: isOnProp, defaultIsOn = false, exitOnEscape, exitOnBgClick,
|
|
32
|
+
export const Theatre = ({ closeBtnContent, openBtnContent, isOn: isOnProp, defaultIsOn = false, exitOnEscape, exitOnBgClick, onOpenButtonClicked, onCloseButtonClicked, onBackgroundClicked, onEscapePressed, onIsOnChanged, children, className }) => {
|
|
33
33
|
// State & refs
|
|
34
34
|
const [internalIsOn, setInternalIsOn] = useState(defaultIsOn);
|
|
35
35
|
const stageRef = useRef(null);
|
|
@@ -39,18 +39,24 @@ export const Theatre = ({ closeBtnContent, openBtnContent, isOn: isOnProp, defau
|
|
|
39
39
|
useChangeDispatch(isOn, onIsOnChanged);
|
|
40
40
|
// User action handlers
|
|
41
41
|
const requestToggle = (targetIsOn) => {
|
|
42
|
-
onToggleClicked?.(isOn);
|
|
43
42
|
if (isControlled)
|
|
44
43
|
return;
|
|
45
44
|
setInternalIsOn(targetIsOn);
|
|
46
45
|
};
|
|
47
|
-
const
|
|
48
|
-
|
|
46
|
+
const handleOpenButtonClick = () => {
|
|
47
|
+
onOpenButtonClicked?.(isOn);
|
|
48
|
+
requestToggle(true);
|
|
49
|
+
};
|
|
50
|
+
const handleCloseButtonClick = () => {
|
|
51
|
+
onCloseButtonClicked?.(isOn);
|
|
52
|
+
requestToggle(false);
|
|
53
|
+
};
|
|
49
54
|
const handleStageBgClick = e => {
|
|
50
55
|
if (exitOnBgClick !== true)
|
|
51
56
|
return;
|
|
52
57
|
if (e.target !== stageRef.current)
|
|
53
58
|
return;
|
|
59
|
+
onBackgroundClicked?.(isOn);
|
|
54
60
|
requestToggle(false);
|
|
55
61
|
};
|
|
56
62
|
// Fx. dep. `exitOnEscape`, `isOn` - close the stage on the Escape key
|
|
@@ -60,11 +66,12 @@ export const Theatre = ({ closeBtnContent, openBtnContent, isOn: isOnProp, defau
|
|
|
60
66
|
const handleKeyDown = (e) => {
|
|
61
67
|
if (e.key !== 'Escape')
|
|
62
68
|
return;
|
|
69
|
+
onEscapePressed?.(isOn);
|
|
63
70
|
requestToggle(false);
|
|
64
71
|
};
|
|
65
72
|
window.addEventListener('keydown', handleKeyDown);
|
|
66
73
|
return () => window.removeEventListener('keydown', handleKeyDown);
|
|
67
|
-
}, [exitOnEscape, isOn, isControlled]);
|
|
74
|
+
}, [exitOnEscape, isOn, isControlled, onEscapePressed]);
|
|
68
75
|
// Rendering
|
|
69
76
|
const c = clss(publicClassName, { cssModule });
|
|
70
77
|
const rootClss = mergeClassNames(c(null, {
|
|
@@ -74,5 +81,5 @@ export const Theatre = ({ closeBtnContent, openBtnContent, isOn: isOnProp, defau
|
|
|
74
81
|
const stageClss = c('stage');
|
|
75
82
|
const openBtnClss = c('open-btn');
|
|
76
83
|
const closeBtnClss = c('close-btn');
|
|
77
|
-
return _jsxs("div", { className: rootClss, children: [children, _jsx("div", { className: stageClss, onClick: handleStageBgClick, ref: stageRef, children: isOn && children }), _jsx("div", { className: closeBtnClss, onClick:
|
|
84
|
+
return _jsxs("div", { className: rootClss, children: [children, _jsx("div", { className: stageClss, onClick: handleStageBgClick, ref: stageRef, children: isOn && children }), _jsx("div", { className: closeBtnClss, onClick: handleCloseButtonClick, children: closeBtnContent }), _jsx("div", { className: openBtnClss, onClick: handleOpenButtonClick, children: openBtnContent })] });
|
|
78
85
|
};
|
package/components/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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
|
-
export * as image from './Image/index.js'
|
|
9
8
|
export * as iframe from './Iframe/index.js'
|
|
10
|
-
export * as
|
|
9
|
+
export * as image from './Image/index.js'
|
|
11
10
|
export * as input from './Input/index.js'
|
|
11
|
+
export * as intersectionObserver from './IntersectionObserver/index.js'
|
|
12
12
|
export * as jsonEditor from './JsonEditor/index.js'
|
|
13
13
|
export * as listLoader from './ListLoader/index.js'
|
|
14
|
-
export * as paginator from './Paginator/index.js'
|
|
15
14
|
export * as overlayer from './Overlayer/index.js'
|
|
16
|
-
export * as
|
|
15
|
+
export * as paginator from './Paginator/index.js'
|
|
17
16
|
export * as resizeObserver from './ResizeObserver/index.js'
|
|
18
|
-
export * as
|
|
17
|
+
export * as scrllgngn from './Scrllgngn/index.js'
|
|
19
18
|
export * as scrollListener from './ScrollListener/index.js'
|
|
19
|
+
export * as select from './Select/index.js'
|
|
20
20
|
export * as sequencer from './Sequencer/index.js'
|
|
21
21
|
export * as shadowRoot from './ShadowRoot/index.js'
|
|
22
22
|
export * as subtitles from './Subtitles/index.js'
|
package/components/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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
|
-
export * as image from './Image/index.js'
|
|
9
8
|
export * as iframe from './Iframe/index.js'
|
|
10
|
-
export * as
|
|
9
|
+
export * as image from './Image/index.js'
|
|
11
10
|
export * as input from './Input/index.js'
|
|
11
|
+
export * as intersectionObserver from './IntersectionObserver/index.js'
|
|
12
12
|
export * as jsonEditor from './JsonEditor/index.js'
|
|
13
13
|
export * as listLoader from './ListLoader/index.js'
|
|
14
|
-
export * as paginator from './Paginator/index.js'
|
|
15
14
|
export * as overlayer from './Overlayer/index.js'
|
|
16
|
-
export * as
|
|
15
|
+
export * as paginator from './Paginator/index.js'
|
|
17
16
|
export * as resizeObserver from './ResizeObserver/index.js'
|
|
18
|
-
export * as
|
|
17
|
+
export * as scrllgngn from './Scrllgngn/index.js'
|
|
19
18
|
export * as scrollListener from './ScrollListener/index.js'
|
|
19
|
+
export * as select from './Select/index.js'
|
|
20
20
|
export * as sequencer from './Sequencer/index.js'
|
|
21
21
|
export * as shadowRoot from './ShadowRoot/index.js'
|
|
22
22
|
export * as subtitles from './Subtitles/index.js'
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as list from './list/index.js'
|
|
2
1
|
export * as copyDir from './copy-dir/index.js'
|
|
3
|
-
export * as
|
|
2
|
+
export * as list from './list/index.js'
|
|
4
3
|
export * as moveDir from './move-dir/index.js'
|
|
4
|
+
export * as removeDir from './remove-dir/index.js'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as list from './list/index.js'
|
|
2
1
|
export * as copyDir from './copy-dir/index.js'
|
|
3
|
-
export * as
|
|
2
|
+
export * as list from './list/index.js'
|
|
4
3
|
export * as moveDir from './move-dir/index.js'
|
|
4
|
+
export * as removeDir from './remove-dir/index.js'
|
|
@@ -1,12 +1,12 @@
|
|
|
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 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'
|
|
7
|
-
export * as move from './move/index.js'
|
|
8
7
|
export * as remove from './remove/index.js'
|
|
9
|
-
export * as
|
|
8
|
+
export * as move from './move/index.js'
|
|
10
9
|
export * as revokeSignedUrls from './revoke-signed-urls/index.js'
|
|
11
|
-
export * as
|
|
10
|
+
export * as stat from './stat/index.js'
|
|
12
11
|
export * as updateMetadata from './update-metadata/index.js'
|
|
12
|
+
export * as upload from './upload/index.js'
|
|
@@ -1,12 +1,12 @@
|
|
|
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 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'
|
|
7
|
-
export * as move from './move/index.js'
|
|
8
7
|
export * as remove from './remove/index.js'
|
|
9
|
-
export * as
|
|
8
|
+
export * as move from './move/index.js'
|
|
10
9
|
export * as revokeSignedUrls from './revoke-signed-urls/index.js'
|
|
11
|
-
export * as
|
|
10
|
+
export * as stat from './stat/index.js'
|
|
12
11
|
export * as updateMetadata from './update-metadata/index.js'
|
|
12
|
+
export * as upload from './upload/index.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as copyFile from './copy-file/index.js'
|
|
2
1
|
export * as copyDir from './copy-dir/index.js'
|
|
2
|
+
export * as copyFile from './copy-file/index.js'
|
|
3
3
|
export * as existsFile from './exists-file/index.js'
|
|
4
4
|
export * as downloadFile from './download-file/index.js'
|
|
5
5
|
export * as listDir from './list-dir/index.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as copyFile from './copy-file/index.js'
|
|
2
1
|
export * as copyDir from './copy-dir/index.js'
|
|
2
|
+
export * as copyFile from './copy-file/index.js'
|
|
3
3
|
export * as existsFile from './exists-file/index.js'
|
|
4
4
|
export * as downloadFile from './download-file/index.js'
|
|
5
5
|
export * as listDir from './list-dir/index.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as copy from './copy/index.js'
|
|
2
2
|
export * as download from './download/index.js'
|
|
3
|
-
export * as move from './move/index.js'
|
|
4
3
|
export * as exists from './exists/index.js'
|
|
5
|
-
export * as
|
|
4
|
+
export * as move from './move/index.js'
|
|
6
5
|
export * as remove from './remove/index.js'
|
|
6
|
+
export * as stat from './stat/index.js'
|
|
7
7
|
export * as upload from './upload/index.js'
|
package/node/ftps/file/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as copy from './copy/index.js'
|
|
2
2
|
export * as download from './download/index.js'
|
|
3
|
-
export * as move from './move/index.js'
|
|
4
3
|
export * as exists from './exists/index.js'
|
|
5
|
-
export * as
|
|
4
|
+
export * as move from './move/index.js'
|
|
6
5
|
export * as remove from './remove/index.js'
|
|
6
|
+
export * as stat from './stat/index.js'
|
|
7
7
|
export * as upload from './upload/index.js'
|
package/node/images/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as create from './create/index.js'
|
|
2
1
|
export * as format from './format/index.js'
|
|
2
|
+
export * as create from './create/index.js'
|
|
3
3
|
export * as metadata from './metadata/index.js'
|
|
4
4
|
export * as transform from './transform/index.js'
|
|
5
5
|
export * as utils from './utils/index.js'
|
package/node/images/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as create from './create/index.js'
|
|
2
1
|
export * as format from './format/index.js'
|
|
2
|
+
export * as create from './create/index.js'
|
|
3
3
|
export * as metadata from './metadata/index.js'
|
|
4
4
|
export * as transform from './transform/index.js'
|
|
5
5
|
export * as utils from './utils/index.js'
|
|
@@ -9,7 +9,7 @@ export * as hue from './hue/index.js'
|
|
|
9
9
|
export * as level from './level/index.js'
|
|
10
10
|
export * as lighten from './lighten/index.js'
|
|
11
11
|
export * as normalize from './normalize/index.js'
|
|
12
|
+
export * as overlay from './overlay/index.js'
|
|
12
13
|
export * as resize from './resize/index.js'
|
|
13
14
|
export * as rotate from './rotate/index.js'
|
|
14
|
-
export * as overlay from './overlay/index.js'
|
|
15
15
|
export * as saturate from './saturate/index.js'
|
|
@@ -9,7 +9,7 @@ export * as hue from './hue/index.js'
|
|
|
9
9
|
export * as level from './level/index.js'
|
|
10
10
|
export * as lighten from './lighten/index.js'
|
|
11
11
|
export * as normalize from './normalize/index.js'
|
|
12
|
+
export * as overlay from './overlay/index.js'
|
|
12
13
|
export * as resize from './resize/index.js'
|
|
13
14
|
export * as rotate from './rotate/index.js'
|
|
14
|
-
export * as overlay from './overlay/index.js'
|
|
15
15
|
export * as saturate from './saturate/index.js'
|
package/node/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as awsS3 from './@aws-s3/index.js'
|
|
2
|
-
export * as designEdito from './@design-edito/index.js'
|
|
3
2
|
export * as express from './@express/index.js'
|
|
3
|
+
export * as designEdito from './@design-edito/index.js'
|
|
4
4
|
export * as googleCloud from './@google-cloud/index.js'
|
|
5
5
|
export * as cloudStorage from './cloud-storage/index.js'
|
|
6
6
|
export * as encryption from './encryption/index.js'
|
package/node/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as awsS3 from './@aws-s3/index.js'
|
|
2
|
-
export * as designEdito from './@design-edito/index.js'
|
|
3
2
|
export * as express from './@express/index.js'
|
|
3
|
+
export * as designEdito from './@design-edito/index.js'
|
|
4
4
|
export * as googleCloud from './@google-cloud/index.js'
|
|
5
5
|
export * as cloudStorage from './cloud-storage/index.js'
|
|
6
6
|
export * as encryption from './encryption/index.js'
|
package/node/process/index.d.ts
CHANGED
package/node/process/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as download from './download/index.js'
|
|
2
2
|
export * as copy from './copy/index.js'
|
|
3
|
-
export * as move from './move/index.js'
|
|
4
3
|
export * as exists from './exists/index.js'
|
|
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'
|
|
7
7
|
export * as upload from './upload/index.js'
|
package/node/sftp/file/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as download from './download/index.js'
|
|
2
2
|
export * as copy from './copy/index.js'
|
|
3
|
-
export * as move from './move/index.js'
|
|
4
3
|
export * as exists from './exists/index.js'
|
|
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'
|
|
7
7
|
export * as upload from './upload/index.js'
|
package/node/sftp/index.d.ts
CHANGED
package/node/sftp/index.js
CHANGED