@wix/editor-react-components 1.2761.0 → 1.2763.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.
Files changed (163) hide show
  1. package/dist/site/components/AccordionComponent/component.js +1 -1
  2. package/dist/site/components/AccordionComponent/manifest.js +1 -1
  3. package/dist/site/components/AnimatedIcon/manifest.js +1 -1
  4. package/dist/site/components/AudioPlayer/component.js +1 -1
  5. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  6. package/dist/site/components/BoxContainer/component.js +3 -3
  7. package/dist/site/components/BoxContainer/manifest.js +1 -1
  8. package/dist/site/components/Breadcrumbs/component.js +3 -3
  9. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  10. package/dist/site/components/Button/manifest.js +1 -1
  11. package/dist/site/components/Checkbox/component.js +1 -1
  12. package/dist/site/components/Checkbox/manifest.js +1 -1
  13. package/dist/site/components/CheckboxGroup/component.js +1 -1
  14. package/dist/site/components/CheckboxGroup/manifest.js +1 -1
  15. package/dist/site/components/CollapsibleText/component.js +2 -2
  16. package/dist/site/components/CollapsibleText/manifest.js +1 -1
  17. package/dist/site/components/DatePicker/component.js +2 -2
  18. package/dist/site/components/DatePicker/manifest.js +1 -1
  19. package/dist/site/components/Dropdown/component.js +2 -2
  20. package/dist/site/components/Dropdown/manifest.js +1 -1
  21. package/dist/site/components/GoogleMap/component.js +3 -3
  22. package/dist/site/components/HTMLComponent/component.js +2 -2
  23. package/dist/site/components/HeadingTextBlock/component.js +1 -1
  24. package/dist/site/components/HeadingTextBlock/manifest.js +1 -1
  25. package/dist/site/components/HipaaIcon/component.js +2 -2
  26. package/dist/site/components/HipaaIcon/manifest.js +1 -1
  27. package/dist/site/components/Image3/component.js +2 -2
  28. package/dist/site/components/ImageReveal/component.js +2 -2
  29. package/dist/site/components/ImageReveal/manifest.js +1 -1
  30. package/dist/site/components/Line/component.js +1 -1
  31. package/dist/site/components/LinkBar/component.js +2 -2
  32. package/dist/site/components/LinkBar/manifest.js +1 -1
  33. package/dist/site/components/Logo/component.js +1 -1
  34. package/dist/site/components/Logo/manifest.js +1 -1
  35. package/dist/site/components/Logo/sdk.js +1 -1
  36. package/dist/site/components/Lottie/component.js +3 -3
  37. package/dist/site/components/Lottie/manifest.js +1 -1
  38. package/dist/site/components/MarkdownBlock/component.js +2 -2
  39. package/dist/site/components/MarkdownBlock/manifest.js +1 -1
  40. package/dist/site/components/Menu/component.js +3 -3
  41. package/dist/site/components/Menu/manifest.js +2 -3
  42. package/dist/site/components/MultiStateBox/component.js +1 -1
  43. package/dist/site/components/MultiStateBox/manifest.js +1 -1
  44. package/dist/site/components/ProgressBar/component.js +1 -1
  45. package/dist/site/components/ProgressBar/manifest.js +1 -1
  46. package/dist/site/components/ProgressBar/sdk.js +1 -1
  47. package/dist/site/components/RadioButtons/component.js +1 -1
  48. package/dist/site/components/RadioButtons/manifest.js +1 -1
  49. package/dist/site/components/Repeater/component.js +2 -2
  50. package/dist/site/components/Repeater/manifest.js +1 -1
  51. package/dist/site/components/ShareButtons/component.js +2 -2
  52. package/dist/site/components/ShareButtons/manifest.js +1 -1
  53. package/dist/site/components/Slideshow/component.js +1 -1
  54. package/dist/site/components/Tabs/component.js +1 -1
  55. package/dist/site/components/Tabs/manifest.js +1 -1
  56. package/dist/site/components/TextBox/component.js +1 -1
  57. package/dist/site/components/TextBox/manifest.js +1 -1
  58. package/dist/site/components/TextEffects3d/component.js +1 -1
  59. package/dist/site/components/TextEffects3d/manifest.js +1 -1
  60. package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
  61. package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
  62. package/dist/site/components/TextEffectsGlass/component.js +1 -1
  63. package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
  64. package/dist/site/components/TextEffectsGlitch/component.js +1 -1
  65. package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
  66. package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
  67. package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
  68. package/dist/site/components/TextEffectsMatrix/component.js +1 -1
  69. package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
  70. package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
  71. package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
  72. package/dist/site/components/TextEffectsNoisy/component.js +1 -1
  73. package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
  74. package/dist/site/components/TextEffectsOutlineOut/component.js +2 -2
  75. package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
  76. package/dist/site/components/TextEffectsRetro/component.js +1 -1
  77. package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
  78. package/dist/site/components/TextEffectsShook/component.js +1 -1
  79. package/dist/site/components/TextEffectsShook/manifest.js +1 -1
  80. package/dist/site/components/TextEffectsSticker/component.js +1 -1
  81. package/dist/site/components/TextEffectsSticker/manifest.js +2 -2
  82. package/dist/site/components/TextEffectsStriped/component.js +1 -1
  83. package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
  84. package/dist/site/components/TextInput/component.js +2 -2
  85. package/dist/site/components/TextInput/manifest.js +1 -1
  86. package/dist/site/components/TextMarquee/component.js +1 -1
  87. package/dist/site/components/TimePicker/component.js +2 -2
  88. package/dist/site/components/TimePicker/manifest.js +1 -1
  89. package/dist/site/components/TransparentVideo/component.js +2 -2
  90. package/dist/site/components/VideoScrub/VideoScrub.types.d.ts +37 -0
  91. package/dist/site/components/VideoScrub/component.js +334 -34
  92. package/dist/site/components/VideoScrub/constants.d.ts +8 -3
  93. package/dist/site/components/VideoScrub/css.css +75 -2
  94. package/dist/site/components/VideoScrub/hooks/useScrubProgress.d.ts +4 -2
  95. package/dist/site/components/VideoScrub/hooks/useTimeframes.d.ts +23 -0
  96. package/dist/site/components/VideoScrub/manifest.js +268 -6
  97. package/dist/site/components/VideoScrub/timeframes/index.d.ts +1 -1
  98. package/dist/site/components/VideoScrub/timeframes/types.d.ts +1 -1
  99. package/dist/site/components/VideoScrub/timeframes/useActiveTimeframeIndex.d.ts +2 -0
  100. package/dist/site/components/VideoScrub/utils.d.ts +19 -5
  101. package/dist/site/components/chunks/AnimatedIcon.js +1 -1
  102. package/dist/site/components/chunks/Button.js +2 -2
  103. package/dist/site/components/chunks/Image.js +1 -1
  104. package/dist/site/components/chunks/Link.js +1 -1
  105. package/dist/site/components/chunks/Patterns.js +1 -1
  106. package/dist/site/components/chunks/ResponsiveBox.js +1 -1
  107. package/dist/site/components/chunks/TextEffectsShared.js +2 -2
  108. package/dist/site/components/chunks/a11y.js +4 -4
  109. package/dist/site/components/chunks/constants10.js +20 -65
  110. package/dist/site/components/chunks/constants11.js +12 -14
  111. package/dist/site/components/chunks/constants12.js +9 -9
  112. package/dist/site/components/chunks/constants13.js +8 -10
  113. package/dist/site/components/chunks/constants14.js +13 -9
  114. package/dist/site/components/chunks/constants15.js +17 -14
  115. package/dist/site/components/chunks/constants16.js +12 -17
  116. package/dist/site/components/chunks/constants17.js +13 -11
  117. package/dist/site/components/chunks/constants18.js +96 -21
  118. package/dist/site/components/chunks/constants19.js +50 -92
  119. package/dist/site/components/chunks/constants2.js +126 -47
  120. package/dist/site/components/chunks/constants20.js +50 -54
  121. package/dist/site/components/chunks/constants21.js +52 -49
  122. package/dist/site/components/chunks/constants22.js +310 -43
  123. package/dist/site/components/chunks/constants23.js +65 -310
  124. package/dist/site/components/chunks/constants24.js +99 -70
  125. package/dist/site/components/chunks/constants25.js +30 -101
  126. package/dist/site/components/chunks/constants26.js +17 -35
  127. package/dist/site/components/chunks/constants27.js +447 -16
  128. package/dist/site/components/chunks/constants28.js +29 -441
  129. package/dist/site/components/chunks/constants29.js +78 -26
  130. package/dist/site/components/chunks/constants3.js +84 -118
  131. package/dist/site/components/chunks/constants30.js +15 -85
  132. package/dist/site/components/chunks/constants31.js +42 -11
  133. package/dist/site/components/chunks/constants32.js +45 -41
  134. package/dist/site/components/chunks/constants33.js +24 -49
  135. package/dist/site/components/chunks/constants34.js +56 -25
  136. package/dist/site/components/chunks/constants35.js +13 -58
  137. package/dist/site/components/chunks/constants36.js +206 -14
  138. package/dist/site/components/chunks/constants37.js +153 -182
  139. package/dist/site/components/chunks/constants38.js +49 -162
  140. package/dist/site/components/chunks/constants39.js +102 -51
  141. package/dist/site/components/chunks/constants4.js +13 -88
  142. package/dist/site/components/chunks/constants40.js +39 -69
  143. package/dist/site/components/chunks/constants41.js +79 -72
  144. package/dist/site/components/chunks/constants42.js +77 -83
  145. package/dist/site/components/chunks/constants43.js +56 -75
  146. package/dist/site/components/chunks/constants5.js +19 -10
  147. package/dist/site/components/chunks/constants6.js +14 -14
  148. package/dist/site/components/chunks/constants7.js +10 -11
  149. package/dist/site/components/chunks/constants8.js +14 -14
  150. package/dist/site/components/chunks/constants9.js +65 -22
  151. package/dist/site/components/chunks/customElementInit.js +1 -1
  152. package/dist/site/components/chunks/index4.js +3 -2133
  153. package/dist/site/components/chunks/index5.js +2080 -1414
  154. package/dist/site/components/chunks/index6.js +1467 -3
  155. package/dist/site/components/chunks/manifestBase.js +1 -1
  156. package/dist/site/components/chunks/parseHtml.js +1 -1
  157. package/dist/site/components/chunks/parseSvg.js +1 -1
  158. package/dist/site/components/chunks/types.js +61 -0
  159. package/dist/site/components/chunks/useConsentPolicyProps.js +2 -2
  160. package/dist/site/components/chunks/utils2.js +1 -1
  161. package/dist/site/components/extensions.js +1 -1
  162. package/package.json +2 -2
  163. package/dist/site/components/chunks/constants44.js +0 -72
@@ -1,19 +1,23 @@
1
- import { S as SharedDisplayNames } from "./constants10.js";
1
+ import { S as SharedDisplayNames } from "./constants9.js";
2
2
  const TestIds = {
3
3
  viewer: {
4
- container: "TextEffectsLetterPress-container",
5
- text: "TextEffectsLetterPress-text"
4
+ container: "TextEffectsGlitch-container",
5
+ text: "TextEffectsGlitch-text"
6
6
  }
7
7
  };
8
- const COMPONENT_ID = "9d2a5c8f-e4b1-4f6d-b7a3-8e1c9f5d2b4a";
9
- const TEXT_TWIST_PANEL_ID = "4f36b4fa-893a-4eb2-a1b3-7c82351f063b";
8
+ const COMPONENT_ID = "1e3b6d9a-f5c2-4a8e-9c4b-2d7f8a1e5c3b";
9
+ const TEXT_TWIST_PANEL_ID = "dde110d1-a3b1-4ba3-91d1-7c2face79c7b";
10
10
  const DisplayNames = {
11
11
  ...SharedDisplayNames,
12
12
  cssCustomProperties: {
13
- shadow: "Shadow",
14
- layerBlendMode: "Blend mode",
15
- textEffectsColor1: "Color",
16
- textEffectsOpacityColor1: "opacity"
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"
17
21
  }
18
22
  };
19
23
  export {
@@ -1,28 +1,31 @@
1
- import { S as SharedDisplayNames } from "./constants10.js";
1
+ import { S as SharedDisplayNames } from "./constants9.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: "TextEffectsGlitch-container",
5
- text: "TextEffectsGlitch-text"
6
+ container: "TextEffectsGlass-container",
7
+ text: "TextEffectsGlass-text"
6
8
  }
7
9
  };
8
- const COMPONENT_ID = "1e3b6d9a-f5c2-4a8e-9c4b-2d7f8a1e5c3b";
9
- const TEXT_TWIST_PANEL_ID = "dde110d1-a3b1-4ba3-91d1-7c2face79c7b";
10
+ const blurConfig = {
11
+ start: 2,
12
+ end: 10,
13
+ step: 1
14
+ };
10
15
  const DisplayNames = {
11
16
  ...SharedDisplayNames,
12
17
  cssCustomProperties: {
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"
18
+ textColor: "Color",
19
+ stroke: "Color",
20
+ strokeWidth: "width",
21
+ shadowBlur: "Spread",
22
+ shadowColor: "Color"
21
23
  }
22
24
  };
23
25
  export {
24
26
  COMPONENT_ID as C,
25
27
  DisplayNames as D,
26
28
  TestIds as T,
27
- TEXT_TWIST_PANEL_ID as a
29
+ TEXT_TWIST_PANEL_ID as a,
30
+ blurConfig as b
28
31
  };
@@ -1,31 +1,26 @@
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";
1
+ import { S as SharedDisplayNames } from "./constants9.js";
4
2
  const TestIds = {
5
3
  viewer: {
6
- container: "TextEffectsGlass-container",
7
- text: "TextEffectsGlass-text"
4
+ container: "TextEffectsBauhaus-container",
5
+ text: "TextEffectsBauhaus-text"
8
6
  }
9
7
  };
10
- const blurConfig = {
11
- start: 2,
12
- end: 10,
13
- step: 1
14
- };
8
+ const COMPONENT_ID = "8c22adab-12f9-43ee-80c8-6f5dbe19eabe";
9
+ const TEXT_TWIST_PANEL_ID = "cdacc489-4176-4558-97f3-0a23662a15ba";
15
10
  const DisplayNames = {
16
11
  ...SharedDisplayNames,
17
12
  cssCustomProperties: {
18
- textColor: "Color",
19
- stroke: "Color",
20
- strokeWidth: "width",
21
- shadowBlur: "Spread",
22
- shadowColor: "Color"
13
+ bevelAngle: "Angle",
14
+ textEffectsColor1: "Color 1",
15
+ textEffectsColor2: "Color 2",
16
+ textEffectsColor3: "Color 3",
17
+ shadowDistance: "Distance",
18
+ layerBlendMode: "Blend mode"
23
19
  }
24
20
  };
25
21
  export {
26
22
  COMPONENT_ID as C,
27
23
  DisplayNames as D,
28
24
  TestIds as T,
29
- TEXT_TWIST_PANEL_ID as a,
30
- blurConfig as b
25
+ TEXT_TWIST_PANEL_ID as a
31
26
  };
@@ -1,21 +1,23 @@
1
- import { S as SharedDisplayNames } from "./constants10.js";
1
+ import { S as SharedDisplayNames } from "./constants9.js";
2
+ const COMPONENT_ID = "90c63713-61c9-4284-8e13-a4a2f1b7559d";
3
+ const TEXT_TWIST_PANEL_ID = "ba438bb1-6b58-427d-9c54-5516cb94840e";
2
4
  const TestIds = {
3
5
  viewer: {
4
- container: "TextEffectsBauhaus-container",
5
- text: "TextEffectsBauhaus-text"
6
+ container: "TextEffects3d-container",
7
+ text: "TextEffects3d-text"
6
8
  }
7
9
  };
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
- bevelAngle: "Angle",
14
- textEffectsColor1: "Color 1",
15
- textEffectsColor2: "Color 2",
16
- textEffectsColor3: "Color 3",
17
- shadowDistance: "Distance",
18
- layerBlendMode: "Blend mode"
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"
19
21
  }
20
22
  };
21
23
  export {
@@ -1,28 +1,103 @@
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"
1
+ const DisplayNames = {
2
+ root: {
3
+ elementDisplayName: "Text Box",
4
+ data: {
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"
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"
8
45
  }
9
46
  };
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"
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" }
21
56
  }
22
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
+ };
23
95
  export {
24
- COMPONENT_ID as C,
25
- DisplayNames as D,
96
+ DesignStates as D,
26
97
  TestIds as T,
27
- TEXT_TWIST_PANEL_ID as a
98
+ VALIDATION_MESSAGES as V,
99
+ semanticClassNames as a,
100
+ DisplayNames as b,
101
+ defaultValues as d,
102
+ selectors as s
28
103
  };
@@ -1,103 +1,61 @@
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
+ };
1
35
  const DisplayNames = {
2
36
  root: {
3
- elementDisplayName: "Text Box",
37
+ elementDisplayName: "Animated Icon",
38
+ customActions: {
39
+ animatedIcon: {
40
+ displayName: "Icon"
41
+ }
42
+ },
4
43
  data: {
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"
44
+ duration: "Duration"
16
45
  },
17
46
  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"
47
+ size: "Size",
48
+ fill: "Color",
49
+ rotation: "Rotation"
38
50
  }
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" }
56
51
  }
57
52
  };
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
53
  export {
96
- DesignStates as D,
54
+ AnimatedSvgIds as A,
55
+ DEFAULT_ANIMATION_DURATION as D,
97
56
  TestIds as T,
98
- VALIDATION_MESSAGES as V,
99
- semanticClassNames as a,
100
- DisplayNames as b,
101
- defaultValues as d,
102
- selectors as s
57
+ AnimatedDataAttributes as a,
58
+ AnimationDirection as b,
59
+ DesignStates as c,
60
+ DisplayNames as d
103
61
  };
@@ -1,52 +1,131 @@
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`
1
+ const DisplayNames = {
2
+ root: {
3
+ elementDisplayName: "Time Picker",
4
+ data: {
5
+ value: "Selected time",
6
+ defaultValue: "Default time",
7
+ granularity: {
8
+ displayName: "Time precision",
9
+ options: {
10
+ hour: "Hours only",
11
+ minute: "Hours and minutes",
12
+ second: "Hours, minutes and seconds"
13
+ }
14
+ },
15
+ hourCycle: {
16
+ displayName: "Hour format",
17
+ options: {
18
+ auto: "Auto (locale)",
19
+ h12: "12-hour",
20
+ h24: "24-hour"
21
+ }
22
+ },
23
+ shouldForceLeadingZeros: "Always show leading zeros",
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"
24
47
  }
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
42
48
  }
43
49
  };
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";
44
119
  export {
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
120
+ DefaultTranslations as D,
121
+ EMPTY_VALUE as E,
122
+ HourCycleValues as H,
123
+ TestIds as T,
124
+ VALUE_MISSING_MESSAGE as V,
125
+ TRANSLATIONS_NAMESPACE as a,
126
+ TranslationKeys as b,
127
+ DisplayNames as c,
128
+ defaultValues as d,
129
+ DesignStates as e,
130
+ selectors as s
52
131
  };