@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
|
@@ -1,61 +1,103 @@
|
|
|
1
|
-
const DEFAULT_ANIMATION_DURATION = 0.2;
|
|
2
|
-
const AnimatedSvgIds = {
|
|
3
|
-
animatedSvg: "animatedSvg",
|
|
4
|
-
animatedTagPath: "animatedPath",
|
|
5
|
-
animateTagForward: "animateForward",
|
|
6
|
-
animateTagBackward: "animateBackward"
|
|
7
|
-
};
|
|
8
|
-
var AnimationDirection = /* @__PURE__ */ ((AnimationDirection2) => {
|
|
9
|
-
AnimationDirection2["FORWARD"] = "Forward";
|
|
10
|
-
AnimationDirection2["BACKWARD"] = "Backward";
|
|
11
|
-
return AnimationDirection2;
|
|
12
|
-
})(AnimationDirection || {});
|
|
13
|
-
const AnimatedDataAttributes = {
|
|
14
|
-
[
|
|
15
|
-
"Forward"
|
|
16
|
-
/* FORWARD */
|
|
17
|
-
]: "data-animated-end-path",
|
|
18
|
-
[
|
|
19
|
-
"Backward"
|
|
20
|
-
/* BACKWARD */
|
|
21
|
-
]: "data-animated-start-path"
|
|
22
|
-
};
|
|
23
|
-
const TestIds = {
|
|
24
|
-
animatedSvg: "animated-svg",
|
|
25
|
-
animateTagForward: "animate-tag-forward",
|
|
26
|
-
animateTagBackward: "animate-tag-backward"
|
|
27
|
-
};
|
|
28
|
-
const DesignStates = {
|
|
29
|
-
root: {
|
|
30
|
-
hover: { displayName: "Hover", className: "animated-icon--hover" },
|
|
31
|
-
disabled: { displayName: "Disabled", className: "animated-icon--disabled" },
|
|
32
|
-
selected: { displayName: "Selected", className: "animated-icon--selected" }
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
1
|
const DisplayNames = {
|
|
36
2
|
root: {
|
|
37
|
-
elementDisplayName: "
|
|
38
|
-
customActions: {
|
|
39
|
-
animatedIcon: {
|
|
40
|
-
displayName: "Icon"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
3
|
+
elementDisplayName: "Text Box",
|
|
43
4
|
data: {
|
|
44
|
-
|
|
5
|
+
value: "Value",
|
|
6
|
+
defaultValue: "Default text",
|
|
7
|
+
label: "Label",
|
|
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"
|
|
45
16
|
},
|
|
46
17
|
cssCustomProperties: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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"
|
|
50
38
|
}
|
|
39
|
+
},
|
|
40
|
+
label: {
|
|
41
|
+
elementDisplayName: "Label"
|
|
42
|
+
},
|
|
43
|
+
description: {
|
|
44
|
+
elementDisplayName: "Helper text"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const DesignStates = {
|
|
48
|
+
input: {
|
|
49
|
+
hover: { displayName: "Hover", className: "textbox__input--hover" },
|
|
50
|
+
focus: { displayName: "Focus", className: "textbox__input--focus" },
|
|
51
|
+
disabled: {
|
|
52
|
+
displayName: "Disabled",
|
|
53
|
+
className: "textbox__input--disabled"
|
|
54
|
+
},
|
|
55
|
+
invalid: { displayName: "Error", className: "textbox__input--invalid" }
|
|
51
56
|
}
|
|
52
57
|
};
|
|
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
|
+
};
|
|
53
95
|
export {
|
|
54
|
-
|
|
55
|
-
DEFAULT_ANIMATION_DURATION as D,
|
|
96
|
+
DesignStates as D,
|
|
56
97
|
TestIds as T,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
98
|
+
VALIDATION_MESSAGES as V,
|
|
99
|
+
semanticClassNames as a,
|
|
100
|
+
DisplayNames as b,
|
|
101
|
+
defaultValues as d,
|
|
102
|
+
selectors as s
|
|
61
103
|
};
|
|
@@ -1,131 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
tooltip: "Tooltip",
|
|
25
|
-
label: "Label",
|
|
26
|
-
description: "Helper text",
|
|
27
|
-
minTime: "Earliest time (HH:MM)",
|
|
28
|
-
maxTime: "Latest time (HH:MM)",
|
|
29
|
-
required: "Required",
|
|
30
|
-
readOnly: "Read only",
|
|
31
|
-
disabled: "Disabled",
|
|
32
|
-
clearable: "Show clear button"
|
|
33
|
-
},
|
|
34
|
-
designStates: {
|
|
35
|
-
hover: "Hover",
|
|
36
|
-
focus: "Focus",
|
|
37
|
-
disabled: "Disabled"
|
|
38
|
-
},
|
|
39
|
-
elements: {
|
|
40
|
-
label: "Label",
|
|
41
|
-
timeInput: "Time input",
|
|
42
|
-
description: "Helper text",
|
|
43
|
-
segment: "Segment"
|
|
44
|
-
},
|
|
45
|
-
cssCustomProperties: {
|
|
46
|
-
labelSpacing: "Label spacing"
|
|
1
|
+
var ScrollSpeed = /* @__PURE__ */ ((ScrollSpeed2) => {
|
|
2
|
+
ScrollSpeed2["slow"] = "slow";
|
|
3
|
+
ScrollSpeed2["normal"] = "normal";
|
|
4
|
+
ScrollSpeed2["fast"] = "fast";
|
|
5
|
+
return ScrollSpeed2;
|
|
6
|
+
})(ScrollSpeed || {});
|
|
7
|
+
const ROOT_CLASS = "video-scrub";
|
|
8
|
+
const DEFAULT_VIDEO_RATIO = 9 / 16;
|
|
9
|
+
const SCROLL_VH_PER_SECOND = {
|
|
10
|
+
[ScrollSpeed.slow]: 30,
|
|
11
|
+
[ScrollSpeed.normal]: 20.8,
|
|
12
|
+
[ScrollSpeed.fast]: 12
|
|
13
|
+
};
|
|
14
|
+
const MIN_SCROLL_VH = 50;
|
|
15
|
+
const MAX_SCROLL_VH = 1e3;
|
|
16
|
+
const mp4 = (quality, width, height) => ({
|
|
17
|
+
quality,
|
|
18
|
+
width,
|
|
19
|
+
height,
|
|
20
|
+
types: [
|
|
21
|
+
{
|
|
22
|
+
format: "mp4",
|
|
23
|
+
uri: `video/11062b_953b517691e34052afc53ccacc33fc67/${quality}/mp4/file.mp4`
|
|
47
24
|
}
|
|
25
|
+
]
|
|
26
|
+
});
|
|
27
|
+
const DEFAULT_VIDEO = {
|
|
28
|
+
name: "Neutral Living Room",
|
|
29
|
+
uri: "",
|
|
30
|
+
duration: 12.5,
|
|
31
|
+
hasAudio: false,
|
|
32
|
+
sources: [
|
|
33
|
+
mp4("360p", 640, 360),
|
|
34
|
+
mp4("480p", 854, 480),
|
|
35
|
+
mp4("720p", 1280, 720),
|
|
36
|
+
mp4("1080p", 1920, 1080)
|
|
37
|
+
],
|
|
38
|
+
poster: {
|
|
39
|
+
uri: "11062b_953b517691e34052afc53ccacc33fc67f000.jpg",
|
|
40
|
+
width: 2560,
|
|
41
|
+
height: 1440
|
|
48
42
|
}
|
|
49
43
|
};
|
|
50
|
-
const defaultValues = {
|
|
51
|
-
granularity: "minute",
|
|
52
|
-
hourCycle: "auto",
|
|
53
|
-
shouldForceLeadingZeros: false,
|
|
54
|
-
tooltip: "",
|
|
55
|
-
label: "",
|
|
56
|
-
description: "",
|
|
57
|
-
required: false,
|
|
58
|
-
readOnly: false,
|
|
59
|
-
disabled: false,
|
|
60
|
-
clearable: false
|
|
61
|
-
};
|
|
62
|
-
var HourCycleValues = /* @__PURE__ */ ((HourCycleValues2) => {
|
|
63
|
-
HourCycleValues2["Auto"] = "auto";
|
|
64
|
-
HourCycleValues2["H12"] = "12";
|
|
65
|
-
HourCycleValues2["H24"] = "24";
|
|
66
|
-
return HourCycleValues2;
|
|
67
|
-
})(HourCycleValues || {});
|
|
68
|
-
const DesignStates = {
|
|
69
|
-
timeInput: {
|
|
70
|
-
hover: {
|
|
71
|
-
displayName: DisplayNames.root.designStates.hover,
|
|
72
|
-
className: "timePicker__group--hover"
|
|
73
|
-
},
|
|
74
|
-
focus: {
|
|
75
|
-
displayName: DisplayNames.root.designStates.focus,
|
|
76
|
-
className: "timePicker__group--focus"
|
|
77
|
-
},
|
|
78
|
-
disabled: {
|
|
79
|
-
displayName: DisplayNames.root.designStates.disabled,
|
|
80
|
-
className: "timePicker__group--disabled"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
segment: {
|
|
84
|
-
focus: {
|
|
85
|
-
displayName: DisplayNames.root.designStates.focus,
|
|
86
|
-
className: "timePicker__segment--focus"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
const EMPTY_VALUE = "";
|
|
91
|
-
const TRANSLATIONS_NAMESPACE = "timePicker";
|
|
92
|
-
const TranslationKeys = {
|
|
93
|
-
ariaLabel: "timePicker_aria_label",
|
|
94
|
-
clearButton: "timePicker_clear_button"
|
|
95
|
-
};
|
|
96
|
-
const DefaultTranslations = {
|
|
97
|
-
ariaLabel: "Time picker",
|
|
98
|
-
clearButton: "Clear"
|
|
99
|
-
};
|
|
100
|
-
const TestIds = {
|
|
101
|
-
root: "timepicker-root",
|
|
102
|
-
group: "timepicker-group",
|
|
103
|
-
field: "timepicker-field",
|
|
104
|
-
clearButton: "timepicker-clear-button",
|
|
105
|
-
tooltipButton: "timepicker-tooltip-button",
|
|
106
|
-
errorMessage: "timepicker-error-message",
|
|
107
|
-
requiredIndicator: "timepicker-required-indicator"
|
|
108
|
-
};
|
|
109
|
-
const selectors = {
|
|
110
|
-
root: "timePicker",
|
|
111
|
-
label: "timePicker__label",
|
|
112
|
-
requiredIndicator: "timePicker__required-indicator",
|
|
113
|
-
group: "timePicker__group",
|
|
114
|
-
description: "timePicker__description",
|
|
115
|
-
segment: "timePicker__segment",
|
|
116
|
-
errorMessage: "timePicker__error-message"
|
|
117
|
-
};
|
|
118
|
-
const VALUE_MISSING_MESSAGE = "This field is required";
|
|
119
44
|
export {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
DisplayNames as c,
|
|
128
|
-
defaultValues as d,
|
|
129
|
-
DesignStates as e,
|
|
130
|
-
selectors as s
|
|
45
|
+
DEFAULT_VIDEO as D,
|
|
46
|
+
MAX_SCROLL_VH as M,
|
|
47
|
+
ROOT_CLASS as R,
|
|
48
|
+
ScrollSpeed as S,
|
|
49
|
+
SCROLL_VH_PER_SECOND as a,
|
|
50
|
+
MIN_SCROLL_VH as b,
|
|
51
|
+
DEFAULT_VIDEO_RATIO as c
|
|
131
52
|
};
|
|
@@ -1,57 +1,61 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
scrollButton: "scroll-button",
|
|
8
|
-
tabContentContainer: "tab-content-container",
|
|
9
|
-
tabContentItem: "tab-content-item"
|
|
1
|
+
const DEFAULT_ANIMATION_DURATION = 0.2;
|
|
2
|
+
const AnimatedSvgIds = {
|
|
3
|
+
animatedSvg: "animatedSvg",
|
|
4
|
+
animatedTagPath: "animatedPath",
|
|
5
|
+
animateTagForward: "animateForward",
|
|
6
|
+
animateTagBackward: "animateBackward"
|
|
10
7
|
};
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
var AnimationDirection = /* @__PURE__ */ ((AnimationDirection2) => {
|
|
9
|
+
AnimationDirection2["FORWARD"] = "Forward";
|
|
10
|
+
AnimationDirection2["BACKWARD"] = "Backward";
|
|
11
|
+
return AnimationDirection2;
|
|
12
|
+
})(AnimationDirection || {});
|
|
13
|
+
const AnimatedDataAttributes = {
|
|
14
|
+
[
|
|
15
|
+
"Forward"
|
|
16
|
+
/* FORWARD */
|
|
17
|
+
]: "data-animated-end-path",
|
|
18
|
+
[
|
|
19
|
+
"Backward"
|
|
20
|
+
/* BACKWARD */
|
|
21
|
+
]: "data-animated-start-path"
|
|
22
|
+
};
|
|
23
|
+
const TestIds = {
|
|
24
|
+
animatedSvg: "animated-svg",
|
|
25
|
+
animateTagForward: "animate-tag-forward",
|
|
26
|
+
animateTagBackward: "animate-tag-backward"
|
|
13
27
|
};
|
|
14
28
|
const DesignStates = {
|
|
15
|
-
|
|
16
|
-
hover: { displayName: "Hover", className: "
|
|
17
|
-
|
|
29
|
+
root: {
|
|
30
|
+
hover: { displayName: "Hover", className: "animated-icon--hover" },
|
|
31
|
+
disabled: { displayName: "Disabled", className: "animated-icon--disabled" },
|
|
32
|
+
selected: { displayName: "Selected", className: "animated-icon--selected" }
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
const DisplayNames = {
|
|
36
|
+
root: {
|
|
37
|
+
elementDisplayName: "Animated Icon",
|
|
38
|
+
customActions: {
|
|
39
|
+
animatedIcon: {
|
|
40
|
+
displayName: "Icon"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
data: {
|
|
44
|
+
duration: "Duration"
|
|
45
|
+
},
|
|
46
|
+
cssCustomProperties: {
|
|
47
|
+
size: "Size",
|
|
48
|
+
fill: "Color",
|
|
49
|
+
rotation: "Rotation"
|
|
50
|
+
}
|
|
18
51
|
}
|
|
19
52
|
};
|
|
20
|
-
const ROOT_MENU_ITEM_CUSTOM_PROPERTIES = [
|
|
21
|
-
"menu-item-background",
|
|
22
|
-
"menu-item-box-shadow",
|
|
23
|
-
"menu-item-color",
|
|
24
|
-
"menu-item-text-decoration-line",
|
|
25
|
-
"menu-item-letter-spacing",
|
|
26
|
-
"menu-item-text-shadow",
|
|
27
|
-
"menu-item-text-align",
|
|
28
|
-
"menu-item-flex",
|
|
29
|
-
"menu-item-border-width-top",
|
|
30
|
-
"menu-item-border-width-bottom",
|
|
31
|
-
"menu-item-border-width-inline-start",
|
|
32
|
-
"menu-item-border-width-inline-end",
|
|
33
|
-
"menu-item-border-style-top",
|
|
34
|
-
"menu-item-border-style-bottom",
|
|
35
|
-
"menu-item-border-style-inline-start",
|
|
36
|
-
"menu-item-border-style-inline-end",
|
|
37
|
-
"menu-item-border-color-top",
|
|
38
|
-
"menu-item-border-color-bottom",
|
|
39
|
-
"menu-item-border-color-inline-start",
|
|
40
|
-
"menu-item-border-color-inline-end",
|
|
41
|
-
"menu-item-border-radius-start-start",
|
|
42
|
-
"menu-item-border-radius-start-end",
|
|
43
|
-
"menu-item-border-radius-end-start",
|
|
44
|
-
"menu-item-border-radius-end-end",
|
|
45
|
-
"menu-item-padding-top",
|
|
46
|
-
"menu-item-padding-bottom",
|
|
47
|
-
"menu-item-padding-inline-start",
|
|
48
|
-
"menu-item-padding-inline-end"
|
|
49
|
-
];
|
|
50
|
-
const ROOT_MENU_ITEM_CSS_PROPERTIES = ["font"];
|
|
51
53
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
AnimatedSvgIds as A,
|
|
55
|
+
DEFAULT_ANIMATION_DURATION as D,
|
|
56
|
+
TestIds as T,
|
|
57
|
+
AnimatedDataAttributes as a,
|
|
58
|
+
AnimationDirection as b,
|
|
59
|
+
DesignStates as c,
|
|
60
|
+
DisplayNames as d
|
|
57
61
|
};
|
|
@@ -1,60 +1,57 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const classes = {
|
|
2
|
+
tabs: "tabs",
|
|
3
|
+
tabMenu: "tab-menu",
|
|
4
|
+
tabMenuItemsWrapper: "tab-menu-items-wrapper",
|
|
5
|
+
tabMenuItems: "tab-menu-items",
|
|
6
|
+
menuItem: "menu-item",
|
|
7
|
+
scrollButton: "scroll-button",
|
|
8
|
+
tabContentContainer: "tab-content-container",
|
|
9
|
+
tabContentItem: "tab-content-item"
|
|
5
10
|
};
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const SEMANTIC_CLASS_NAMES = {
|
|
9
|
-
root: "button",
|
|
10
|
-
buttonLabel: "button__label"
|
|
11
|
+
const OVERFLOW_BEHAVIOR = {
|
|
12
|
+
WRAP: "wrap"
|
|
11
13
|
};
|
|
12
14
|
const DesignStates = {
|
|
13
|
-
|
|
14
|
-
hover: { displayName: "Hover", className: "
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
label: {
|
|
18
|
-
hover: { displayName: "Hover", className: "button__label--hover" },
|
|
19
|
-
disabled: { displayName: "Disabled", className: "button__label--disabled" }
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
const DisplayNames = {
|
|
23
|
-
root: {
|
|
24
|
-
elementDisplayName: "Button",
|
|
25
|
-
data: {
|
|
26
|
-
disabled: "Disabled"
|
|
27
|
-
},
|
|
28
|
-
cssProperties: {
|
|
29
|
-
gap: "Space between text and icon"
|
|
30
|
-
},
|
|
31
|
-
cssCustomProperties: {
|
|
32
|
-
"content-horizontal-alignment": "Alignment",
|
|
33
|
-
"icon-position": "Icon position"
|
|
34
|
-
},
|
|
35
|
-
presets: {
|
|
36
|
-
baseButton: "Base Button"
|
|
37
|
-
},
|
|
38
|
-
iconPosition: {
|
|
39
|
-
beforeText: "Before text",
|
|
40
|
-
afterText: "After text",
|
|
41
|
-
belowText: "Below text",
|
|
42
|
-
aboveText: "Above text"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
label: {
|
|
46
|
-
elementDisplayName: "Text",
|
|
47
|
-
cssProperties: {
|
|
48
|
-
font: "Typography"
|
|
49
|
-
}
|
|
15
|
+
menuItem: {
|
|
16
|
+
hover: { displayName: "Hover", className: "tabs__item--hover" },
|
|
17
|
+
selected: { displayName: "Selected", className: "tabs__item--selected" }
|
|
50
18
|
}
|
|
51
19
|
};
|
|
20
|
+
const ROOT_MENU_ITEM_CUSTOM_PROPERTIES = [
|
|
21
|
+
"menu-item-background",
|
|
22
|
+
"menu-item-box-shadow",
|
|
23
|
+
"menu-item-color",
|
|
24
|
+
"menu-item-text-decoration-line",
|
|
25
|
+
"menu-item-letter-spacing",
|
|
26
|
+
"menu-item-text-shadow",
|
|
27
|
+
"menu-item-text-align",
|
|
28
|
+
"menu-item-flex",
|
|
29
|
+
"menu-item-border-width-top",
|
|
30
|
+
"menu-item-border-width-bottom",
|
|
31
|
+
"menu-item-border-width-inline-start",
|
|
32
|
+
"menu-item-border-width-inline-end",
|
|
33
|
+
"menu-item-border-style-top",
|
|
34
|
+
"menu-item-border-style-bottom",
|
|
35
|
+
"menu-item-border-style-inline-start",
|
|
36
|
+
"menu-item-border-style-inline-end",
|
|
37
|
+
"menu-item-border-color-top",
|
|
38
|
+
"menu-item-border-color-bottom",
|
|
39
|
+
"menu-item-border-color-inline-start",
|
|
40
|
+
"menu-item-border-color-inline-end",
|
|
41
|
+
"menu-item-border-radius-start-start",
|
|
42
|
+
"menu-item-border-radius-start-end",
|
|
43
|
+
"menu-item-border-radius-end-start",
|
|
44
|
+
"menu-item-border-radius-end-end",
|
|
45
|
+
"menu-item-padding-top",
|
|
46
|
+
"menu-item-padding-bottom",
|
|
47
|
+
"menu-item-padding-inline-start",
|
|
48
|
+
"menu-item-padding-inline-end"
|
|
49
|
+
];
|
|
50
|
+
const ROOT_MENU_ITEM_CSS_PROPERTIES = ["font"];
|
|
52
51
|
export {
|
|
53
|
-
COMPONENT_TYPE as C,
|
|
54
52
|
DesignStates as D,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
DEFAULT_ICON_POSITION as c
|
|
53
|
+
OVERFLOW_BEHAVIOR as O,
|
|
54
|
+
ROOT_MENU_ITEM_CSS_PROPERTIES as R,
|
|
55
|
+
ROOT_MENU_ITEM_CUSTOM_PROPERTIES as a,
|
|
56
|
+
classes as c
|
|
60
57
|
};
|