@wix/editor-react-components 1.2736.0 → 1.2737.0
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/dist/site/components/AccordionComponent/component.js +1 -1
- package/dist/site/components/AccordionComponent/manifest.js +1 -1
- package/dist/site/components/AnimatedIcon/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/component.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +1 -1
- package/dist/site/components/BoxContainer/component.js +1 -1
- package/dist/site/components/BoxContainer/manifest.js +1 -1
- package/dist/site/components/Breadcrumbs/component.js +1 -1
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Button/manifest.js +1 -1
- package/dist/site/components/Checkbox/component.js +1 -1
- package/dist/site/components/Checkbox/manifest.js +1 -1
- package/dist/site/components/CheckboxGroup/component.js +1 -1
- package/dist/site/components/CheckboxGroup/manifest.js +1 -1
- package/dist/site/components/CollapsibleText/component.js +1 -1
- package/dist/site/components/CollapsibleText/manifest.js +1 -1
- package/dist/site/components/DatePicker/component.js +1 -1
- package/dist/site/components/DatePicker/manifest.js +1 -1
- package/dist/site/components/Dropdown/component.js +1 -1
- package/dist/site/components/Dropdown/manifest.js +1 -1
- package/dist/site/components/HTMLComponent/component.js +1 -1
- package/dist/site/components/HeadingTextBlock/component.js +1 -1
- package/dist/site/components/HeadingTextBlock/manifest.js +1 -1
- package/dist/site/components/HipaaIcon/component.js +1 -1
- package/dist/site/components/HipaaIcon/manifest.js +1 -1
- package/dist/site/components/ImageReveal/component.js +1 -1
- package/dist/site/components/ImageReveal/manifest.js +1 -1
- package/dist/site/components/LinkBar/component.js +1 -1
- package/dist/site/components/LinkBar/manifest.js +1 -1
- package/dist/site/components/Logo/component.js +1 -1
- package/dist/site/components/Logo/manifest.js +1 -1
- package/dist/site/components/Logo/sdk.js +1 -1
- package/dist/site/components/Lottie/component.js +1 -1
- package/dist/site/components/Lottie/manifest.js +1 -1
- package/dist/site/components/MarkdownBlock/component.js +1 -1
- package/dist/site/components/MarkdownBlock/manifest.js +1 -1
- package/dist/site/components/Menu/component.js +1 -1
- package/dist/site/components/Menu/manifest.js +1 -1
- package/dist/site/components/MultiStateBox/component.js +1 -1
- package/dist/site/components/MultiStateBox/manifest.js +1 -1
- package/dist/site/components/ProgressBar/component.js +1 -1
- package/dist/site/components/ProgressBar/manifest.js +1 -1
- package/dist/site/components/ProgressBar/sdk.js +1 -1
- package/dist/site/components/RadioButtons/component.js +1 -1
- package/dist/site/components/RadioButtons/manifest.js +1 -1
- package/dist/site/components/Repeater/component.js +1 -1
- package/dist/site/components/Repeater/manifest.js +1 -1
- package/dist/site/components/ShareButtons/component.js +1 -1
- package/dist/site/components/ShareButtons/manifest.js +1 -1
- package/dist/site/components/Tabs/component.js +1 -1
- package/dist/site/components/Tabs/manifest.js +1 -1
- package/dist/site/components/TextBox/component.js +1 -1
- package/dist/site/components/TextBox/manifest.js +1 -1
- package/dist/site/components/TextEffects3d/component.js +1 -1
- package/dist/site/components/TextEffects3d/manifest.js +1 -1
- package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
- package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
- package/dist/site/components/TextEffectsGlass/component.js +1 -1
- package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
- package/dist/site/components/TextEffectsGlitch/component.js +1 -1
- package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
- package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
- package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
- package/dist/site/components/TextEffectsMatrix/component.js +1 -1
- package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
- package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
- package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
- package/dist/site/components/TextEffectsNoisy/component.js +1 -1
- package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
- package/dist/site/components/TextEffectsOutlineOut/component.js +2 -2
- package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
- package/dist/site/components/TextEffectsRetro/component.js +1 -1
- package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
- package/dist/site/components/TextEffectsShook/component.js +1 -1
- package/dist/site/components/TextEffectsShook/manifest.js +1 -1
- package/dist/site/components/TextEffectsSticker/component.js +1 -1
- package/dist/site/components/TextEffectsSticker/manifest.js +2 -2
- package/dist/site/components/TextEffectsStriped/component.js +1 -1
- package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
- package/dist/site/components/TextInput/component.js +1 -1
- package/dist/site/components/TextInput/manifest.js +1 -1
- package/dist/site/components/TimePicker/component.js +1 -1
- package/dist/site/components/TimePicker/manifest.js +1 -1
- package/dist/site/components/VideoScrub/VideoScrub.d.ts +4 -0
- package/dist/site/components/VideoScrub/VideoScrub.types.d.ts +17 -0
- package/dist/site/components/VideoScrub/component.d.ts +2 -0
- package/dist/site/components/VideoScrub/component.js +273 -0
- package/dist/site/components/VideoScrub/component.preview.d.ts +3 -0
- package/dist/site/components/VideoScrub/constants.d.ts +8 -0
- package/dist/site/components/VideoScrub/css.css +72 -0
- package/dist/site/components/VideoScrub/hooks/useScrubGate.d.ts +14 -0
- package/dist/site/components/VideoScrub/hooks/useScrubProgress.d.ts +11 -0
- package/dist/site/components/VideoScrub/hooks/useScrubVideo.d.ts +24 -0
- package/dist/site/components/VideoScrub/index.d.ts +2 -0
- package/dist/site/components/VideoScrub/index.js +6 -0
- package/dist/site/components/VideoScrub/manifest.d.ts +5 -0
- package/dist/site/components/VideoScrub/manifest.js +71 -0
- package/dist/site/components/VideoScrub/utils.d.ts +14 -0
- package/dist/site/components/chunks/AnimatedIcon.js +1 -1
- package/dist/site/components/chunks/Button.js +1 -1
- package/dist/site/components/chunks/Patterns.js +1 -1
- package/dist/site/components/chunks/TextEffectsShared.js +1 -1
- package/dist/site/components/chunks/constants10.js +65 -20
- package/dist/site/components/chunks/constants11.js +14 -12
- package/dist/site/components/chunks/constants12.js +9 -9
- package/dist/site/components/chunks/constants13.js +10 -8
- package/dist/site/components/chunks/constants14.js +9 -13
- package/dist/site/components/chunks/constants15.js +14 -17
- package/dist/site/components/chunks/constants16.js +17 -12
- package/dist/site/components/chunks/constants17.js +11 -13
- package/dist/site/components/chunks/constants18.js +21 -96
- package/dist/site/components/chunks/constants19.js +92 -50
- package/dist/site/components/chunks/constants2.js +47 -126
- package/dist/site/components/chunks/constants20.js +54 -50
- package/dist/site/components/chunks/constants21.js +49 -52
- package/dist/site/components/chunks/constants22.js +43 -310
- package/dist/site/components/chunks/constants23.js +310 -65
- package/dist/site/components/chunks/constants24.js +70 -99
- package/dist/site/components/chunks/constants25.js +101 -30
- package/dist/site/components/chunks/constants26.js +35 -17
- package/dist/site/components/chunks/constants27.js +16 -447
- package/dist/site/components/chunks/constants28.js +441 -29
- package/dist/site/components/chunks/constants29.js +26 -78
- package/dist/site/components/chunks/constants3.js +118 -84
- package/dist/site/components/chunks/constants30.js +85 -15
- package/dist/site/components/chunks/constants31.js +11 -42
- package/dist/site/components/chunks/constants32.js +41 -45
- package/dist/site/components/chunks/constants33.js +49 -24
- package/dist/site/components/chunks/constants34.js +25 -56
- package/dist/site/components/chunks/constants35.js +58 -13
- package/dist/site/components/chunks/constants36.js +14 -206
- package/dist/site/components/chunks/constants37.js +182 -153
- package/dist/site/components/chunks/constants38.js +162 -49
- package/dist/site/components/chunks/constants39.js +51 -102
- package/dist/site/components/chunks/constants4.js +88 -13
- package/dist/site/components/chunks/constants40.js +69 -39
- package/dist/site/components/chunks/constants41.js +72 -79
- package/dist/site/components/chunks/constants42.js +83 -77
- package/dist/site/components/chunks/constants43.js +75 -56
- package/dist/site/components/chunks/constants44.js +72 -0
- package/dist/site/components/chunks/constants5.js +10 -19
- package/dist/site/components/chunks/constants6.js +14 -14
- package/dist/site/components/chunks/constants7.js +11 -10
- package/dist/site/components/chunks/constants8.js +14 -14
- package/dist/site/components/chunks/constants9.js +22 -65
- package/dist/site/components/chunks/manifestBase.js +1 -1
- package/dist/site/components/chunks/utils2.js +1 -1
- package/dist/site/components/extensions.js +127 -125
- package/package.json +3 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export declare const getScrubTime: (progress: number, duration: number) => number | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* Sets `currentTime` toward one target. Never starts a seek while one is running.
|
|
5
|
+
* It reads `video.seeking` instead of waiting for `seeked`: Safari sometimes never fires
|
|
6
|
+
* `seeked`, and a loop that waits for it hangs.
|
|
7
|
+
*/
|
|
8
|
+
export declare const flushSeek: (video: HTMLVideoElement, target: number) => boolean;
|
|
9
|
+
type UseScrubVideoOptions = {
|
|
10
|
+
/** Scrub mode is on. When off, the hook does nothing. */
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
videoRef: RefObject<HTMLVideoElement | null>;
|
|
13
|
+
/** Changes when the video is swapped, so the scrub state resets. */
|
|
14
|
+
videoKey?: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Loads the paused scrub video and keeps it on the latest progress target (0–1).
|
|
18
|
+
* `frameReady` turns true once a real frame is painted, so the poster can go away.
|
|
19
|
+
*/
|
|
20
|
+
export declare const useScrubVideo: ({ enabled, videoRef, videoKey, }: UseScrubVideoOptions) => {
|
|
21
|
+
seekProgress: (value: number) => void;
|
|
22
|
+
frameReady: boolean;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { D as DATA, A as Archetype, L as LAYOUT } from "../chunks/chunk-EVX7ZUBD.js";
|
|
2
|
+
import { V as VideoCategoryTypes } from "../chunks/types.impl.js";
|
|
3
|
+
import { S as ScrollSpeed, R as ROOT_CLASS } from "../chunks/constants2.js";
|
|
4
|
+
const manifest = {
|
|
5
|
+
id: "c3bdf192-6423-4d70-a0f5-d5542d6a3e3f",
|
|
6
|
+
type: "wixEditorElements.VideoScrub__DEV__v1",
|
|
7
|
+
description: "A video that plays by page scroll: while the visitor scrolls past it, the video stays on screen and its time follows the scroll.",
|
|
8
|
+
installation: {
|
|
9
|
+
initialSize: {
|
|
10
|
+
width: {
|
|
11
|
+
sizingType: LAYOUT.SIZING_TYPE.pixels,
|
|
12
|
+
pixels: 640
|
|
13
|
+
},
|
|
14
|
+
height: {
|
|
15
|
+
sizingType: LAYOUT.SIZING_TYPE.pixels,
|
|
16
|
+
pixels: 360
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
editorElement: {
|
|
21
|
+
selector: `.${ROOT_CLASS}`,
|
|
22
|
+
displayName: "Video Scrub",
|
|
23
|
+
archetype: Archetype.Video,
|
|
24
|
+
data: {
|
|
25
|
+
video: {
|
|
26
|
+
dataType: DATA.DATA_TYPE.video,
|
|
27
|
+
[DATA.DATA_TYPE.video]: {
|
|
28
|
+
category: VideoCategoryTypes.VIDEO
|
|
29
|
+
},
|
|
30
|
+
disableDeletion: true
|
|
31
|
+
},
|
|
32
|
+
scrollSpeed: {
|
|
33
|
+
displayName: "Scroll speed",
|
|
34
|
+
dataType: DATA.DATA_TYPE.textEnum,
|
|
35
|
+
defaultValue: ScrollSpeed.normal,
|
|
36
|
+
[DATA.DATA_TYPE.textEnum]: {
|
|
37
|
+
options: [
|
|
38
|
+
{ value: ScrollSpeed.slow, displayName: "Slow" },
|
|
39
|
+
{ value: ScrollSpeed.normal, displayName: "Normal" },
|
|
40
|
+
{ value: ScrollSpeed.fast, displayName: "Fast" }
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
resources: {
|
|
47
|
+
client: {
|
|
48
|
+
componentUrl: "./site/components/VideoScrub/component.tsx",
|
|
49
|
+
dependencies: {
|
|
50
|
+
serviceDependencies: ["@wix/viewer-service-environment"]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
editor: {
|
|
54
|
+
componentUrl: "./site/components/VideoScrub/component.preview.tsx",
|
|
55
|
+
dependencies: {
|
|
56
|
+
serviceDependencies: [
|
|
57
|
+
"@wix/viewer-service-environment",
|
|
58
|
+
"@wix/site-service-editor-context"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
moduleConfiguration: {
|
|
64
|
+
package: { name: "@wix/editor-react-components", version: "^1.0.0" },
|
|
65
|
+
component: { path: "VideoScrub" },
|
|
66
|
+
cssFile: { path: "VideoScrub/css" }
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
manifest as default
|
|
71
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { VideoMedia } from '@wix/video';
|
|
2
|
+
import { ScrollSpeed } from './VideoScrub.types';
|
|
3
|
+
/** How far the visitor scrolls while the stage is stuck, in vh. */
|
|
4
|
+
export declare const getScrollLengthVh: (duration: number, speed?: ScrollSpeed) => number;
|
|
5
|
+
/**
|
|
6
|
+
* The video's height / width, from its saved sources (or poster). The stage falls back to it when
|
|
7
|
+
* Studio sizes the component with `height: auto` (stretched, or the mobile default).
|
|
8
|
+
*/
|
|
9
|
+
export declare const getVideoRatio: (video?: VideoMedia) => number | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Scroll progress through the tall root, 0 to 1: how far the sticky stage has moved down its
|
|
12
|
+
* root. 0 until it sticks, 1 once it lets go, so the header and Wix Ads offsets need no math here.
|
|
13
|
+
*/
|
|
14
|
+
export declare const getScrubProgress: (root: Element, stage: Element) => number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useRef, useImperativeHandle, useCallback, useMemo } from "react";
|
|
3
3
|
import { p as parseSvg } from "./parseSvg.js";
|
|
4
|
-
import { A as AnimatedSvgIds, a as AnimatedDataAttributes, b as AnimationDirection, T as TestIds, D as DEFAULT_ANIMATION_DURATION } from "./
|
|
4
|
+
import { A as AnimatedSvgIds, a as AnimatedDataAttributes, b as AnimationDirection, T as TestIds, D as DEFAULT_ANIMATION_DURATION } from "./constants20.js";
|
|
5
5
|
import { c as cn } from "./index9.js";
|
|
6
6
|
const AnimatedSvg = forwardRef(
|
|
7
7
|
({ svgContent, reducedMotion = false, duration }, ref) => {
|
|
@@ -7,7 +7,7 @@ import { a as getDataAttributes, g as getQaDataAttributes } from "./dataUtils.js
|
|
|
7
7
|
import { f as formatClassNames } from "./classNames.js";
|
|
8
8
|
import { I as IconAnimationTriggers } from "./Button.types.js";
|
|
9
9
|
import AnimatedIconWithReducedMotion from "../AnimatedIcon/component.js";
|
|
10
|
-
import { T as TRANSITION_DURATION, S as SEMANTIC_CLASS_NAMES, a as TestIds, C as COMPONENT_TYPE } from "./
|
|
10
|
+
import { T as TRANSITION_DURATION, S as SEMANTIC_CLASS_NAMES, a as TestIds, C as COMPONENT_TYPE } from "./constants22.js";
|
|
11
11
|
import { d as activateByEnterButton, a as activateBySpaceOrEnterButton, r as removeAriaPrefix, g as getAccessibilityAttributesSpread } from "./a11y.js";
|
|
12
12
|
import { i as isValidLink } from "./Link.js";
|
|
13
13
|
import { d as defineStaticService } from "./staticService.js";
|
|
@@ -2,7 +2,7 @@ import React__default from "react";
|
|
|
2
2
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { c as clsx } from "./clsx.js";
|
|
4
4
|
import { a as getDataAttributes } from "./dataUtils.js";
|
|
5
|
-
import { T as TestIds } from "./
|
|
5
|
+
import { T as TestIds } from "./constants10.js";
|
|
6
6
|
function bidiFactory() {
|
|
7
7
|
var bidi2 = (function(exports$1) {
|
|
8
8
|
var DATA = {
|
|
@@ -3,7 +3,7 @@ import React__default from "react";
|
|
|
3
3
|
import { f as formatClassNames } from "./classNames.js";
|
|
4
4
|
import { a as getDataAttributes } from "./dataUtils.js";
|
|
5
5
|
import { e as getTabIndexAttribute } from "./a11y.js";
|
|
6
|
-
import { D as DEFAULT_TEXT_DIRECTION, a as DEFAULT_HTML_TAG, d as dataHooks, T as TestIds } from "./
|
|
6
|
+
import { D as DEFAULT_TEXT_DIRECTION, a as DEFAULT_HTML_TAG, d as dataHooks, T as TestIds } from "./constants10.js";
|
|
7
7
|
import { c as clsx } from "./clsx.js";
|
|
8
8
|
import { L as Link } from "./Link.js";
|
|
9
9
|
const semanticClassNames = {
|
|
@@ -1,28 +1,73 @@
|
|
|
1
|
-
|
|
1
|
+
const SharedDisplayNames = {
|
|
2
|
+
root: {
|
|
3
|
+
displayName: "Text Effects"
|
|
4
|
+
},
|
|
5
|
+
data: {
|
|
6
|
+
text: "Text",
|
|
7
|
+
link: "Link",
|
|
8
|
+
isDecorative: "Decorative",
|
|
9
|
+
textDirection: "Text Direction",
|
|
10
|
+
patternScope: "Pattern Scope",
|
|
11
|
+
a11y: "Accessibility"
|
|
12
|
+
},
|
|
13
|
+
cssProperties: {
|
|
14
|
+
font: "Font",
|
|
15
|
+
color: "Color",
|
|
16
|
+
textLineHeight: "Line spacing",
|
|
17
|
+
letterSpacing: "Letter spacing"
|
|
18
|
+
},
|
|
19
|
+
patternCssCustomProperties: {
|
|
20
|
+
rotationIntensity: "Rotation Intensity",
|
|
21
|
+
offsetIntensity: "Offset Intensity",
|
|
22
|
+
patternPreset: "Pattern Preset",
|
|
23
|
+
isCapitalize: "Capitalize"
|
|
24
|
+
},
|
|
25
|
+
textDirection: {
|
|
26
|
+
inherit: "Inherit",
|
|
27
|
+
ltr: "Left to Right",
|
|
28
|
+
rtl: "Right to Left"
|
|
29
|
+
},
|
|
30
|
+
patternScope: {
|
|
31
|
+
none: "None",
|
|
32
|
+
character: "Character",
|
|
33
|
+
word: "Word"
|
|
34
|
+
}
|
|
35
|
+
};
|
|
2
36
|
const TestIds = {
|
|
3
37
|
viewer: {
|
|
4
|
-
|
|
5
|
-
|
|
38
|
+
link: "text-effects-shared-link",
|
|
39
|
+
visuallyHidden: "text-effects-shared-visually-hidden",
|
|
40
|
+
patternUnit: "text-effects-shared-pattern-unit"
|
|
6
41
|
}
|
|
7
42
|
};
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
const COMPONENT_ID = "3f9c1e82-a7d6-4b5e-8c2a-9d4f6e3b7a1c";
|
|
14
|
-
const TEXT_TWIST_PANEL_ID = "0bba51ec-ca53-4662-acf6-ea71ffbb4f55";
|
|
15
|
-
const DisplayNames = {
|
|
16
|
-
...SharedDisplayNames,
|
|
17
|
-
cssCustomProperties: {
|
|
18
|
-
textEffectsColor1: "Color",
|
|
19
|
-
squigglyLevel: "Noise intensity"
|
|
20
|
-
}
|
|
43
|
+
const DEFAULT_HTML_TAG = "div";
|
|
44
|
+
const DEFAULT_TEXT_DIRECTION = "inherit";
|
|
45
|
+
const dataHooks = {
|
|
46
|
+
root: "text-effect"
|
|
21
47
|
};
|
|
48
|
+
const blendModes = [
|
|
49
|
+
"normal",
|
|
50
|
+
"color",
|
|
51
|
+
"color-burn",
|
|
52
|
+
"color-dodge",
|
|
53
|
+
"darken",
|
|
54
|
+
"difference",
|
|
55
|
+
"exclusion",
|
|
56
|
+
"hard-light",
|
|
57
|
+
"hue",
|
|
58
|
+
"lighten",
|
|
59
|
+
"luminosity",
|
|
60
|
+
"multiply",
|
|
61
|
+
"overlay",
|
|
62
|
+
"saturation",
|
|
63
|
+
"screen",
|
|
64
|
+
"soft-light"
|
|
65
|
+
];
|
|
22
66
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
67
|
+
DEFAULT_TEXT_DIRECTION as D,
|
|
68
|
+
SharedDisplayNames as S,
|
|
25
69
|
TestIds as T,
|
|
26
|
-
|
|
27
|
-
|
|
70
|
+
DEFAULT_HTML_TAG as a,
|
|
71
|
+
blendModes as b,
|
|
72
|
+
dataHooks as d
|
|
28
73
|
};
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import { S as SharedDisplayNames } from "./
|
|
1
|
+
import { S as SharedDisplayNames } from "./constants10.js";
|
|
2
2
|
const TestIds = {
|
|
3
3
|
viewer: {
|
|
4
|
-
container: "
|
|
5
|
-
text: "
|
|
4
|
+
container: "TextEffectsNoisy-container",
|
|
5
|
+
text: "TextEffectsNoisy-text"
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
|
-
const
|
|
9
|
-
|
|
8
|
+
const noiseIntensityConfig = {
|
|
9
|
+
start: 1,
|
|
10
|
+
end: 53,
|
|
11
|
+
step: 1
|
|
12
|
+
};
|
|
13
|
+
const COMPONENT_ID = "3f9c1e82-a7d6-4b5e-8c2a-9d4f6e3b7a1c";
|
|
14
|
+
const TEXT_TWIST_PANEL_ID = "0bba51ec-ca53-4662-acf6-ea71ffbb4f55";
|
|
10
15
|
const DisplayNames = {
|
|
11
16
|
...SharedDisplayNames,
|
|
12
17
|
cssCustomProperties: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
shadowOpacity: "Opacity",
|
|
16
|
-
shadowBlur: "Blur",
|
|
17
|
-
innerAnimationSpeed: "Speed",
|
|
18
|
-
disableInnerAnimation: "Animation"
|
|
18
|
+
textEffectsColor1: "Color",
|
|
19
|
+
squigglyLevel: "Noise intensity"
|
|
19
20
|
}
|
|
20
21
|
};
|
|
21
22
|
export {
|
|
22
23
|
COMPONENT_ID as C,
|
|
23
24
|
DisplayNames as D,
|
|
24
25
|
TestIds as T,
|
|
25
|
-
TEXT_TWIST_PANEL_ID as a
|
|
26
|
+
TEXT_TWIST_PANEL_ID as a,
|
|
27
|
+
noiseIntensityConfig as n
|
|
26
28
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { S as SharedDisplayNames } from "./
|
|
1
|
+
import { S as SharedDisplayNames } from "./constants10.js";
|
|
2
2
|
const TestIds = {
|
|
3
3
|
viewer: {
|
|
4
|
-
container: "
|
|
5
|
-
text: "
|
|
4
|
+
container: "TextEffectsNeonSign-container",
|
|
5
|
+
text: "TextEffectsNeonSign-text"
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
|
-
const COMPONENT_ID = "
|
|
9
|
-
const TEXT_TWIST_PANEL_ID = "
|
|
8
|
+
const COMPONENT_ID = "8c1f4b9e-d3a7-4e2c-a5b8-7d9f1e6c4a2b";
|
|
9
|
+
const TEXT_TWIST_PANEL_ID = "37855762-0e6d-4818-85ed-73c9a844825f";
|
|
10
10
|
const DisplayNames = {
|
|
11
11
|
...SharedDisplayNames,
|
|
12
12
|
cssCustomProperties: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
textColor: "Color",
|
|
14
|
+
shadowColor: "Color",
|
|
15
|
+
shadowOpacity: "Opacity",
|
|
16
|
+
shadowBlur: "Blur",
|
|
17
17
|
innerAnimationSpeed: "Speed",
|
|
18
18
|
disableInnerAnimation: "Animation"
|
|
19
19
|
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { S as SharedDisplayNames } from "./
|
|
1
|
+
import { S as SharedDisplayNames } from "./constants10.js";
|
|
2
2
|
const TestIds = {
|
|
3
3
|
viewer: {
|
|
4
|
-
container: "
|
|
5
|
-
text: "
|
|
4
|
+
container: "TextEffectsMatrix-container",
|
|
5
|
+
text: "TextEffectsMatrix-text"
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
|
-
const COMPONENT_ID = "
|
|
9
|
-
const TEXT_TWIST_PANEL_ID = "
|
|
8
|
+
const COMPONENT_ID = "45e26ded-fab2-4208-b6ae-3514ddea4cb0";
|
|
9
|
+
const TEXT_TWIST_PANEL_ID = "ea4f3040-ce0b-44e3-a90b-7fcb74ba1a7b";
|
|
10
10
|
const DisplayNames = {
|
|
11
11
|
...SharedDisplayNames,
|
|
12
12
|
cssCustomProperties: {
|
|
13
|
-
shadow: "Shadow",
|
|
14
|
-
layerBlendMode: "Blend mode",
|
|
15
13
|
textEffectsColor1: "Color",
|
|
16
|
-
|
|
14
|
+
maskPosition: "Position",
|
|
15
|
+
maskBlur: "Blur",
|
|
16
|
+
textBlur: "Spread",
|
|
17
|
+
innerAnimationSpeed: "Speed",
|
|
18
|
+
disableInnerAnimation: "Animation"
|
|
17
19
|
}
|
|
18
20
|
};
|
|
19
21
|
export {
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { S as SharedDisplayNames } from "./
|
|
1
|
+
import { S as SharedDisplayNames } from "./constants10.js";
|
|
2
2
|
const TestIds = {
|
|
3
3
|
viewer: {
|
|
4
|
-
container: "
|
|
5
|
-
text: "
|
|
4
|
+
container: "TextEffectsLetterPress-container",
|
|
5
|
+
text: "TextEffectsLetterPress-text"
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
|
-
const COMPONENT_ID = "
|
|
9
|
-
const TEXT_TWIST_PANEL_ID = "
|
|
8
|
+
const COMPONENT_ID = "9d2a5c8f-e4b1-4f6d-b7a3-8e1c9f5d2b4a";
|
|
9
|
+
const TEXT_TWIST_PANEL_ID = "4f36b4fa-893a-4eb2-a1b3-7c82351f063b";
|
|
10
10
|
const DisplayNames = {
|
|
11
11
|
...SharedDisplayNames,
|
|
12
12
|
cssCustomProperties: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
layerDistance: "Space between layers",
|
|
18
|
-
shadowBlur: "Blur",
|
|
19
|
-
disableInnerAnimation: "Animation",
|
|
20
|
-
innerAnimationSpeed: "Speed"
|
|
13
|
+
shadow: "Shadow",
|
|
14
|
+
layerBlendMode: "Blend mode",
|
|
15
|
+
textEffectsColor1: "Color",
|
|
16
|
+
textEffectsOpacityColor1: "opacity"
|
|
21
17
|
}
|
|
22
18
|
};
|
|
23
19
|
export {
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import { S as SharedDisplayNames } from "./
|
|
2
|
-
const COMPONENT_ID = "d578a270-a696-4e0f-a876-bd47dc8c62b3";
|
|
3
|
-
const TEXT_TWIST_PANEL_ID = "279c908d-b75f-4111-bbf1-7745ec173bc0";
|
|
1
|
+
import { S as SharedDisplayNames } from "./constants10.js";
|
|
4
2
|
const TestIds = {
|
|
5
3
|
viewer: {
|
|
6
|
-
container: "
|
|
7
|
-
text: "
|
|
4
|
+
container: "TextEffectsGlitch-container",
|
|
5
|
+
text: "TextEffectsGlitch-text"
|
|
8
6
|
}
|
|
9
7
|
};
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
end: 10,
|
|
13
|
-
step: 1
|
|
14
|
-
};
|
|
8
|
+
const COMPONENT_ID = "1e3b6d9a-f5c2-4a8e-9c4b-2d7f8a1e5c3b";
|
|
9
|
+
const TEXT_TWIST_PANEL_ID = "dde110d1-a3b1-4ba3-91d1-7c2face79c7b";
|
|
15
10
|
const DisplayNames = {
|
|
16
11
|
...SharedDisplayNames,
|
|
17
12
|
cssCustomProperties: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
textEffectsColor1: "Color 1",
|
|
14
|
+
textEffectsColor2: "Color 2",
|
|
15
|
+
textEffectsColor3: "Color 3",
|
|
16
|
+
layerAngle: "Angle",
|
|
17
|
+
layerDistance: "Space between layers",
|
|
18
|
+
shadowBlur: "Blur",
|
|
19
|
+
disableInnerAnimation: "Animation",
|
|
20
|
+
innerAnimationSpeed: "Speed"
|
|
23
21
|
}
|
|
24
22
|
};
|
|
25
23
|
export {
|
|
26
24
|
COMPONENT_ID as C,
|
|
27
25
|
DisplayNames as D,
|
|
28
26
|
TestIds as T,
|
|
29
|
-
TEXT_TWIST_PANEL_ID as a
|
|
30
|
-
blurConfig as b
|
|
27
|
+
TEXT_TWIST_PANEL_ID as a
|
|
31
28
|
};
|
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
import { S as SharedDisplayNames } from "./
|
|
1
|
+
import { S as SharedDisplayNames } from "./constants10.js";
|
|
2
|
+
const COMPONENT_ID = "d578a270-a696-4e0f-a876-bd47dc8c62b3";
|
|
3
|
+
const TEXT_TWIST_PANEL_ID = "279c908d-b75f-4111-bbf1-7745ec173bc0";
|
|
2
4
|
const TestIds = {
|
|
3
5
|
viewer: {
|
|
4
|
-
container: "
|
|
5
|
-
text: "
|
|
6
|
+
container: "TextEffectsGlass-container",
|
|
7
|
+
text: "TextEffectsGlass-text"
|
|
6
8
|
}
|
|
7
9
|
};
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
+
const blurConfig = {
|
|
11
|
+
start: 2,
|
|
12
|
+
end: 10,
|
|
13
|
+
step: 1
|
|
14
|
+
};
|
|
10
15
|
const DisplayNames = {
|
|
11
16
|
...SharedDisplayNames,
|
|
12
17
|
cssCustomProperties: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
layerBlendMode: "Blend mode"
|
|
18
|
+
textColor: "Color",
|
|
19
|
+
stroke: "Color",
|
|
20
|
+
strokeWidth: "width",
|
|
21
|
+
shadowBlur: "Spread",
|
|
22
|
+
shadowColor: "Color"
|
|
19
23
|
}
|
|
20
24
|
};
|
|
21
25
|
export {
|
|
22
26
|
COMPONENT_ID as C,
|
|
23
27
|
DisplayNames as D,
|
|
24
28
|
TestIds as T,
|
|
25
|
-
TEXT_TWIST_PANEL_ID as a
|
|
29
|
+
TEXT_TWIST_PANEL_ID as a,
|
|
30
|
+
blurConfig as b
|
|
26
31
|
};
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import { S as SharedDisplayNames } from "./
|
|
2
|
-
const COMPONENT_ID = "90c63713-61c9-4284-8e13-a4a2f1b7559d";
|
|
3
|
-
const TEXT_TWIST_PANEL_ID = "ba438bb1-6b58-427d-9c54-5516cb94840e";
|
|
1
|
+
import { S as SharedDisplayNames } from "./constants10.js";
|
|
4
2
|
const TestIds = {
|
|
5
3
|
viewer: {
|
|
6
|
-
container: "
|
|
7
|
-
text: "
|
|
4
|
+
container: "TextEffectsBauhaus-container",
|
|
5
|
+
text: "TextEffectsBauhaus-text"
|
|
8
6
|
}
|
|
9
7
|
};
|
|
8
|
+
const COMPONENT_ID = "8c22adab-12f9-43ee-80c8-6f5dbe19eabe";
|
|
9
|
+
const TEXT_TWIST_PANEL_ID = "cdacc489-4176-4558-97f3-0a23662a15ba";
|
|
10
10
|
const DisplayNames = {
|
|
11
11
|
...SharedDisplayNames,
|
|
12
12
|
cssCustomProperties: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
textShadow2: "Shadow 2",
|
|
20
|
-
textShadow3: "Shadow 3"
|
|
13
|
+
bevelAngle: "Angle",
|
|
14
|
+
textEffectsColor1: "Color 1",
|
|
15
|
+
textEffectsColor2: "Color 2",
|
|
16
|
+
textEffectsColor3: "Color 3",
|
|
17
|
+
shadowDistance: "Distance",
|
|
18
|
+
layerBlendMode: "Blend mode"
|
|
21
19
|
}
|
|
22
20
|
};
|
|
23
21
|
export {
|
|
@@ -1,103 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
tooltip: "Tooltip",
|
|
9
|
-
placeholder: "Placeholder",
|
|
10
|
-
required: "Required",
|
|
11
|
-
readOnly: "Read only",
|
|
12
|
-
disabled: "Disabled",
|
|
13
|
-
minLength: "Minimum characters",
|
|
14
|
-
maxLength: "Maximum characters",
|
|
15
|
-
description: "Helper text"
|
|
16
|
-
},
|
|
17
|
-
cssCustomProperties: {
|
|
18
|
-
gap: "Space between label and field",
|
|
19
|
-
labelAlignment: "Label alignment",
|
|
20
|
-
descriptionSpacing: "Space between field and helper text"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
input: {
|
|
24
|
-
elementDisplayName: "Input",
|
|
25
|
-
cssCustomProperties: {
|
|
26
|
-
placeholderTextColor: "Placeholder text color",
|
|
27
|
-
borderColor: "Border color",
|
|
28
|
-
borderWidth: "Border width",
|
|
29
|
-
resize: "Resize"
|
|
30
|
-
},
|
|
31
|
-
options: {
|
|
32
|
-
resizeOff: "Off",
|
|
33
|
-
resizeVertical: "Vertical",
|
|
34
|
-
resizeBoth: "Both"
|
|
35
|
-
},
|
|
36
|
-
displayGroups: {
|
|
37
|
-
borderGroup: "Border"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
label: {
|
|
41
|
-
elementDisplayName: "Label"
|
|
42
|
-
},
|
|
43
|
-
description: {
|
|
44
|
-
elementDisplayName: "Helper text"
|
|
1
|
+
import { S as SharedDisplayNames } from "./constants10.js";
|
|
2
|
+
const COMPONENT_ID = "90c63713-61c9-4284-8e13-a4a2f1b7559d";
|
|
3
|
+
const TEXT_TWIST_PANEL_ID = "ba438bb1-6b58-427d-9c54-5516cb94840e";
|
|
4
|
+
const TestIds = {
|
|
5
|
+
viewer: {
|
|
6
|
+
container: "TextEffects3d-container",
|
|
7
|
+
text: "TextEffects3d-text"
|
|
45
8
|
}
|
|
46
9
|
};
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
10
|
+
const DisplayNames = {
|
|
11
|
+
...SharedDisplayNames,
|
|
12
|
+
cssCustomProperties: {
|
|
13
|
+
fillColor: "Color",
|
|
14
|
+
fillOpacity: "opacity",
|
|
15
|
+
textStroke: "Width",
|
|
16
|
+
textStrokeColor: "Color",
|
|
17
|
+
textStrokeOpacity: "opacity",
|
|
18
|
+
textShadow1: "Shadow 1",
|
|
19
|
+
textShadow2: "Shadow 2",
|
|
20
|
+
textShadow3: "Shadow 3"
|
|
56
21
|
}
|
|
57
22
|
};
|
|
58
|
-
const defaultValues = {
|
|
59
|
-
defaultValue: "",
|
|
60
|
-
label: "Label",
|
|
61
|
-
tooltip: "",
|
|
62
|
-
placeholder: "Enter your text here...",
|
|
63
|
-
description: "",
|
|
64
|
-
required: false,
|
|
65
|
-
readOnly: false,
|
|
66
|
-
disabled: false
|
|
67
|
-
};
|
|
68
|
-
const VALIDATION_MESSAGES = {
|
|
69
|
-
valueMissing: "This field is required",
|
|
70
|
-
tooShort: (minLength) => `Please use at least ${minLength} characters`,
|
|
71
|
-
tooLong: (maxLength) => `Please use no more than ${maxLength} characters`
|
|
72
|
-
};
|
|
73
|
-
const TestIds = {
|
|
74
|
-
root: "textbox-root",
|
|
75
|
-
input: "textbox-input",
|
|
76
|
-
label: "textbox-label",
|
|
77
|
-
requiredIndicator: "textbox-required-indicator",
|
|
78
|
-
tooltipButton: "textbox-tooltip-button",
|
|
79
|
-
description: "textbox-description",
|
|
80
|
-
errorMessage: "textbox-error-message"
|
|
81
|
-
};
|
|
82
|
-
const selectors = {
|
|
83
|
-
root: "textbox",
|
|
84
|
-
input: "textbox__input",
|
|
85
|
-
label: "textbox__label",
|
|
86
|
-
description: "textbox__description"
|
|
87
|
-
};
|
|
88
|
-
const semanticClassNames = {
|
|
89
|
-
input: "textbox__input",
|
|
90
|
-
label: "textbox__label",
|
|
91
|
-
requiredIndicator: "textbox__required-indicator",
|
|
92
|
-
description: "textbox__description",
|
|
93
|
-
errorMessage: "textbox__error-message"
|
|
94
|
-
};
|
|
95
23
|
export {
|
|
96
|
-
|
|
24
|
+
COMPONENT_ID as C,
|
|
25
|
+
DisplayNames as D,
|
|
97
26
|
TestIds as T,
|
|
98
|
-
|
|
99
|
-
semanticClassNames as a,
|
|
100
|
-
DisplayNames as b,
|
|
101
|
-
defaultValues as d,
|
|
102
|
-
selectors as s
|
|
27
|
+
TEXT_TWIST_PANEL_ID as a
|
|
103
28
|
};
|