@wix/editor-react-components 1.2762.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 (161) 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 +1 -1
  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 +28 -0
  91. package/dist/site/components/VideoScrub/component.js +295 -29
  92. package/dist/site/components/VideoScrub/constants.d.ts +5 -0
  93. package/dist/site/components/VideoScrub/css.css +21 -1
  94. package/dist/site/components/VideoScrub/hooks/useTimeframes.d.ts +23 -0
  95. package/dist/site/components/VideoScrub/manifest.js +102 -6
  96. package/dist/site/components/VideoScrub/timeframes/index.d.ts +1 -1
  97. package/dist/site/components/VideoScrub/timeframes/types.d.ts +1 -1
  98. package/dist/site/components/VideoScrub/timeframes/useActiveTimeframeIndex.d.ts +2 -0
  99. package/dist/site/components/chunks/AnimatedIcon.js +1 -1
  100. package/dist/site/components/chunks/Button.js +2 -2
  101. package/dist/site/components/chunks/Image.js +1 -1
  102. package/dist/site/components/chunks/Link.js +1 -1
  103. package/dist/site/components/chunks/Patterns.js +1 -1
  104. package/dist/site/components/chunks/ResponsiveBox.js +1 -1
  105. package/dist/site/components/chunks/TextEffectsShared.js +2 -2
  106. package/dist/site/components/chunks/a11y.js +4 -4
  107. package/dist/site/components/chunks/constants10.js +20 -65
  108. package/dist/site/components/chunks/constants11.js +12 -14
  109. package/dist/site/components/chunks/constants12.js +9 -9
  110. package/dist/site/components/chunks/constants13.js +8 -10
  111. package/dist/site/components/chunks/constants14.js +13 -9
  112. package/dist/site/components/chunks/constants15.js +17 -14
  113. package/dist/site/components/chunks/constants16.js +12 -17
  114. package/dist/site/components/chunks/constants17.js +13 -11
  115. package/dist/site/components/chunks/constants18.js +96 -21
  116. package/dist/site/components/chunks/constants19.js +50 -92
  117. package/dist/site/components/chunks/constants2.js +128 -34
  118. package/dist/site/components/chunks/constants20.js +50 -54
  119. package/dist/site/components/chunks/constants21.js +52 -49
  120. package/dist/site/components/chunks/constants22.js +310 -43
  121. package/dist/site/components/chunks/constants23.js +65 -310
  122. package/dist/site/components/chunks/constants24.js +99 -70
  123. package/dist/site/components/chunks/constants25.js +30 -101
  124. package/dist/site/components/chunks/constants26.js +17 -35
  125. package/dist/site/components/chunks/constants27.js +447 -16
  126. package/dist/site/components/chunks/constants28.js +29 -441
  127. package/dist/site/components/chunks/constants29.js +78 -26
  128. package/dist/site/components/chunks/constants3.js +84 -118
  129. package/dist/site/components/chunks/constants30.js +15 -85
  130. package/dist/site/components/chunks/constants31.js +42 -11
  131. package/dist/site/components/chunks/constants32.js +45 -41
  132. package/dist/site/components/chunks/constants33.js +24 -49
  133. package/dist/site/components/chunks/constants34.js +56 -25
  134. package/dist/site/components/chunks/constants35.js +13 -58
  135. package/dist/site/components/chunks/constants36.js +206 -14
  136. package/dist/site/components/chunks/constants37.js +153 -182
  137. package/dist/site/components/chunks/constants38.js +49 -162
  138. package/dist/site/components/chunks/constants39.js +102 -51
  139. package/dist/site/components/chunks/constants4.js +13 -88
  140. package/dist/site/components/chunks/constants40.js +39 -69
  141. package/dist/site/components/chunks/constants41.js +79 -72
  142. package/dist/site/components/chunks/constants42.js +77 -83
  143. package/dist/site/components/chunks/constants43.js +56 -75
  144. package/dist/site/components/chunks/constants5.js +19 -10
  145. package/dist/site/components/chunks/constants6.js +14 -14
  146. package/dist/site/components/chunks/constants7.js +10 -11
  147. package/dist/site/components/chunks/constants8.js +14 -14
  148. package/dist/site/components/chunks/constants9.js +65 -22
  149. package/dist/site/components/chunks/customElementInit.js +1 -1
  150. package/dist/site/components/chunks/index4.js +3 -2133
  151. package/dist/site/components/chunks/index5.js +2080 -1414
  152. package/dist/site/components/chunks/index6.js +1467 -3
  153. package/dist/site/components/chunks/manifestBase.js +1 -1
  154. package/dist/site/components/chunks/parseHtml.js +1 -1
  155. package/dist/site/components/chunks/parseSvg.js +1 -1
  156. package/dist/site/components/chunks/types.js +61 -0
  157. package/dist/site/components/chunks/useConsentPolicyProps.js +2 -2
  158. package/dist/site/components/chunks/utils2.js +1 -1
  159. package/dist/site/components/extensions.js +1 -1
  160. package/package.json +2 -2
  161. package/dist/site/components/chunks/constants44.js +0 -72
@@ -1,131 +1,97 @@
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"
47
- }
48
- }
1
+ const selectors = {
2
+ root: "textInput",
3
+ label: "textInput__label",
4
+ input: "textInput__input",
5
+ prefix: "textInput__prefix",
6
+ helperText: "textInput__helper",
7
+ requiredIndicator: "textInput__required-indicator"
49
8
  };
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
9
+ const TestIds = {
10
+ requiredIndicator: "text-input-required-indicator",
11
+ tooltipButton: "text-input-tooltip-button"
61
12
  };
62
- var HourCycleValues = /* @__PURE__ */ ((HourCycleValues2) => {
63
- HourCycleValues2["Auto"] = "auto";
64
- HourCycleValues2["H12"] = "12";
65
- HourCycleValues2["H24"] = "24";
66
- return HourCycleValues2;
67
- })(HourCycleValues || {});
13
+ const VALUE_MISSING_MESSAGE = "This field is required";
68
14
  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
- },
15
+ input: {
16
+ hover: { displayName: "Hover", className: "textInput__input--hover" },
17
+ focus: { displayName: "Focus", className: "textInput__input--focus" },
18
+ error: { displayName: "Error", className: "textInput__input--error" },
78
19
  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"
20
+ displayName: "Disabled",
21
+ className: "textInput__input--disabled"
87
22
  }
88
23
  }
89
24
  };
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"
25
+ const DisplayNames = {
26
+ root: {
27
+ elementDisplayName: "TextInput",
28
+ elements: {
29
+ label: "Label",
30
+ input: "Input",
31
+ prefix: "Prefix",
32
+ helperText: "Helper text"
33
+ }
34
+ },
35
+ cssCustomProperties: {
36
+ helperFont: "Helper text font",
37
+ helperColor: "Helper text color",
38
+ textColor: "Text color",
39
+ placeholderTextColor: "Placeholder text color",
40
+ requiredTextColor: "Required text color",
41
+ prefixFont: "Prefix font",
42
+ labelFont: "Label font",
43
+ labelTextColor: "Label text color",
44
+ labelMarginBottom: "Label bottom margin",
45
+ labelPaddingInlineStart: "Label left padding",
46
+ labelPaddingInlineEnd: "Label right padding",
47
+ labelAlign: "Label alignment",
48
+ inputAlign: "Input alignment"
49
+ },
50
+ data: {
51
+ value: "Value",
52
+ defaultValue: "Default value",
53
+ isDisabled: "Disabled",
54
+ name: "Name",
55
+ minLength: "Minimum length",
56
+ autocompleteToken: "Autocomplete type",
57
+ numberSpinnerHidden: "Hide number spinner",
58
+ labelDirection: "Label direction",
59
+ inputDirection: "Input direction",
60
+ inputType: "Input type",
61
+ maxLength: "Maximum length",
62
+ min: "Minimum value",
63
+ max: "Maximum value",
64
+ pattern: "Pattern validation",
65
+ phoneFormat: "Phone format",
66
+ label: "Label text",
67
+ placeholder: "Placeholder text",
68
+ tooltip: "Tooltip",
69
+ description: "Helper text",
70
+ autoComplete: "Autocomplete",
71
+ readOnly: "Read only",
72
+ required: "Required",
73
+ errorMessageType: "Error message format",
74
+ prefix: "Prefix",
75
+ step: "Step"
76
+ },
77
+ options: {
78
+ text: "Text",
79
+ number: "Number",
80
+ email: "Email",
81
+ url: "URL",
82
+ tel: "Phone number",
83
+ password: "Password",
84
+ center: "Center",
85
+ start: "Left",
86
+ end: "Right",
87
+ inline: "Inline",
88
+ tooltip: "Tooltip"
89
+ }
117
90
  };
118
- const VALUE_MISSING_MESSAGE = "This field is required";
119
91
  export {
120
- DefaultTranslations as D,
121
- EMPTY_VALUE as E,
122
- HourCycleValues as H,
92
+ DesignStates as D,
123
93
  TestIds as T,
124
94
  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,
95
+ DisplayNames as a,
130
96
  selectors as s
131
97
  };
@@ -1,93 +1,23 @@
1
- const semanticSelectors = {
2
- root: "lottie",
3
- playButton: "playButton"
4
- };
5
- const ARIA_LABEL_NAMESPACE = "ariaLabels";
6
- const TranslationKeys = {
7
- playButton: "lottie_aria_label_play",
8
- pauseButton: "lottie_aria_label_pause"
9
- };
10
- const DefaultTranslations = {
11
- playButton: "Play animation",
12
- pauseButton: "Pause animation"
13
- };
14
1
  const DisplayNames = {
15
2
  root: {
16
- elementDisplayName: "Lottie",
3
+ elementDisplayName: "Logo",
4
+ actions: {
5
+ settings: "Settings"
6
+ },
7
+ customActions: {
8
+ customizeLogo: "Customize Logo"
9
+ },
17
10
  data: {
18
- animationUrl: "Animation URL",
19
- loop: "Plays in a loop",
20
- speed: "Speed",
21
- showButtonOnHover: "Show play/pause button",
22
- allowClickToStop: "Click to stop animation"
11
+ image: {
12
+ displayName: "Logo Image"
13
+ }
23
14
  }
24
- },
25
- playButton: {
26
- elementDisplayName: "Play button"
27
- }
28
- };
29
- const rootDataDefaults = {
30
- loop: true,
31
- speed: 1,
32
- showButtonOnHover: "always",
33
- allowClickToStop: true
34
- };
35
- const showButtonOnHoverDefaults = {
36
- always: {
37
- value: "always",
38
- displayName: "Always"
39
- },
40
- onHover: {
41
- value: "onHover",
42
- displayName: "On hover"
43
15
  }
44
16
  };
45
- const testIds = {
46
- animationClickWrapper: "lottie-animation-click-wrapper"
47
- };
48
- const borderDefaultValue = "0px none rgba(0, 0, 0, 1)";
49
- const playButtonDefaults = {
50
- insetInlineEnd: "5px",
51
- insetBlockEnd: "5px"
52
- };
53
- const initialSize = {
54
- width: 280,
55
- height: 280
56
- };
57
- const speedConstraints = {
58
- min: "0.5",
59
- max: "5.0",
60
- multiplier: "0.5"
61
- };
62
- const playIconSvg = {
63
- uri: "",
64
- viewBox: "0 0 24 24",
65
- contentBox: "0 0 24 24",
66
- colors: {},
67
- contentType: "shape",
68
- svgContent: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 4.00142V19.0034C7 19.7884 7.864 20.2674 8.53 19.8514L20.537 12.3504C21.164 11.9584 21.164 11.0464 20.537 10.6544L8.53 3.15342C7.864 2.73742 7 3.21642 7 4.00142Z"/></svg>'
69
- };
70
- const pauseIconSvg = {
71
- uri: "",
72
- viewBox: "0 0 24 24",
73
- contentBox: "0 0 24 24",
74
- colors: {},
75
- contentType: "shape",
76
- svgContent: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="5" y="3" width="5" height="17" rx="1"/><rect x="14" y="3" width="5" height="17" rx="1"/></svg>'
77
- };
17
+ const defaultLogoUrl = "https://static.parastorage.com/services/santa-resources/dist/editor/addPanelData/sections/logo/logoDefault.v2.png";
18
+ const DEFAULT_LOGO_SIZE = 80;
78
19
  export {
79
- ARIA_LABEL_NAMESPACE as A,
80
- DefaultTranslations as D,
81
- TranslationKeys as T,
82
- playIconSvg as a,
83
- showButtonOnHoverDefaults as b,
84
- speedConstraints as c,
85
- playButtonDefaults as d,
86
- DisplayNames as e,
87
- borderDefaultValue as f,
88
- initialSize as i,
89
- pauseIconSvg as p,
90
- rootDataDefaults as r,
91
- semanticSelectors as s,
92
- testIds as t
20
+ DEFAULT_LOGO_SIZE as D,
21
+ DisplayNames as a,
22
+ defaultLogoUrl as d
93
23
  };
@@ -1,23 +1,54 @@
1
+ const presets = {
2
+ horizontal: "horizontal",
3
+ vertical: "vertical"
4
+ };
1
5
  const DisplayNames = {
2
6
  root: {
3
- elementDisplayName: "Logo",
7
+ elementDisplayName: "Social Bar",
8
+ presets: {
9
+ horizontal: "Horizontal",
10
+ vertical: "Vertical"
11
+ },
12
+ cssCustomProperties: {
13
+ "item-size": "Size",
14
+ "row-gap": "Vertical space between icons",
15
+ "column-gap": "Horizontal space between icons",
16
+ "justify-content": "Alignment"
17
+ },
18
+ data: {
19
+ items: "Social",
20
+ icon: "Icon",
21
+ link: "Links to"
22
+ },
4
23
  actions: {
5
- settings: "Settings"
24
+ manageItems: "Manage Social Bar"
6
25
  },
7
26
  customActions: {
8
- customizeLogo: "Customize Logo"
27
+ orientation: "Change Orientation"
9
28
  },
10
- data: {
11
- image: {
12
- displayName: "Logo Image"
29
+ displayGroups: {
30
+ gapGroup: {
31
+ displayName: "Space between icons"
32
+ },
33
+ iconsGroup: {
34
+ displayName: "Icons"
13
35
  }
14
36
  }
15
37
  }
16
38
  };
17
- const defaultLogoUrl = "https://static.parastorage.com/services/santa-resources/dist/editor/addPanelData/sections/logo/logoDefault.v2.png";
18
- const DEFAULT_LOGO_SIZE = 80;
39
+ const DesignStates = {
40
+ root: {
41
+ hover: { displayName: "Hover", className: "link-bar--hover" }
42
+ }
43
+ };
44
+ const ARIA_LABEL_NAMESPACE = "ariaLabels";
45
+ const ARIA_LABEL_KEY = "LinkBar_AriaLabel_SocialBarContainer";
46
+ const ARIA_LABEL_DEFAULT = "Social Bar";
19
47
  export {
20
- DEFAULT_LOGO_SIZE as D,
21
- DisplayNames as a,
22
- defaultLogoUrl as d
48
+ ARIA_LABEL_NAMESPACE as A,
49
+ DesignStates as D,
50
+ ARIA_LABEL_KEY as a,
51
+ ARIA_LABEL_DEFAULT as b,
52
+ DisplayNames as c,
53
+ presets as p
23
54
  };
@@ -1,54 +1,58 @@
1
- const presets = {
2
- horizontal: "horizontal",
3
- vertical: "vertical"
1
+ const manifestClasses = {
2
+ root: "image-reveal",
3
+ divider: "image-reveal-divider",
4
+ btn: "image-reveal-btn",
5
+ arrowIcon: "image-reveal-arrow-icon",
6
+ labelBefore: "image-reveal-label-before",
7
+ labelAfter: "image-reveal-label-after"
8
+ };
9
+ const defaultValues = {
10
+ beforeLabel: "Before",
11
+ afterLabel: "After",
12
+ labelPosition: "horizontal"
4
13
  };
5
14
  const DisplayNames = {
6
15
  root: {
7
- elementDisplayName: "Social Bar",
8
- presets: {
9
- horizontal: "Horizontal",
10
- vertical: "Vertical"
11
- },
12
- cssCustomProperties: {
13
- "item-size": "Size",
14
- "row-gap": "Vertical space between icons",
15
- "column-gap": "Horizontal space between icons",
16
- "justify-content": "Alignment"
17
- },
16
+ elementDisplayName: "Image Reveal",
18
17
  data: {
19
- items: "Social",
20
- icon: "Icon",
21
- link: "Links to"
22
- },
23
- actions: {
24
- manageItems: "Manage Social Bar"
18
+ beforeImage: "Before Image",
19
+ afterImage: "After Image",
20
+ beforeLabel: "Before Label",
21
+ afterLabel: "After Label",
22
+ labelPosition: {
23
+ displayName: "Label Position",
24
+ options: {
25
+ horizontal: "Horizontal",
26
+ vertical: "Vertical"
27
+ }
28
+ }
25
29
  },
26
- customActions: {
27
- orientation: "Change Orientation"
30
+ elements: {
31
+ divider: "Divider",
32
+ btn: "Buttons",
33
+ arrowIcon: "Arrow",
34
+ labelBefore: "Before Label",
35
+ labelAfter: "After Label"
28
36
  },
29
37
  displayGroups: {
30
- gapGroup: {
31
- displayName: "Space between icons"
32
- },
33
- iconsGroup: {
34
- displayName: "Icons"
35
- }
38
+ iconGroup: "Icon"
36
39
  }
37
40
  }
38
41
  };
39
- const DesignStates = {
40
- root: {
41
- hover: { displayName: "Hover", className: "link-bar--hover" }
42
- }
42
+ const CHEVRON_PATH = "M15.5 4.5 8 12l7.5 7.5";
43
+ const DEFAULT_SLIDER_POSITION = 50;
44
+ const SLIDER_STEP = 10;
45
+ const ARIA_LABELS = {
46
+ prevButton: "Move slider left",
47
+ nextButton: "Move slider right",
48
+ handle: "Drag to compare before and after"
43
49
  };
44
- const ARIA_LABEL_NAMESPACE = "ariaLabels";
45
- const ARIA_LABEL_KEY = "LinkBar_AriaLabel_SocialBarContainer";
46
- const ARIA_LABEL_DEFAULT = "Social Bar";
47
50
  export {
48
- ARIA_LABEL_NAMESPACE as A,
49
- DesignStates as D,
50
- ARIA_LABEL_KEY as a,
51
- ARIA_LABEL_DEFAULT as b,
52
- DisplayNames as c,
53
- presets as p
51
+ ARIA_LABELS as A,
52
+ CHEVRON_PATH as C,
53
+ DEFAULT_SLIDER_POSITION as D,
54
+ SLIDER_STEP as S,
55
+ DisplayNames as a,
56
+ defaultValues as d,
57
+ manifestClasses as m
54
58
  };
@@ -1,58 +1,33 @@
1
- const manifestClasses = {
2
- root: "image-reveal",
3
- divider: "image-reveal-divider",
4
- btn: "image-reveal-btn",
5
- arrowIcon: "image-reveal-arrow-icon",
6
- labelBefore: "image-reveal-label-before",
7
- labelAfter: "image-reveal-label-after"
8
- };
9
- const defaultValues = {
10
- beforeLabel: "Before",
11
- afterLabel: "After",
12
- labelPosition: "horizontal"
13
- };
1
+ const HIPAA_SETTINGS_PANEL_ID = "e4a7c1d3-8f2b-4e6a-9d5c-3b1f7a2e8c4d";
14
2
  const DisplayNames = {
15
3
  root: {
16
- elementDisplayName: "Image Reveal",
17
- data: {
18
- beforeImage: "Before Image",
19
- afterImage: "After Image",
20
- beforeLabel: "Before Label",
21
- afterLabel: "After Label",
22
- labelPosition: {
23
- displayName: "Label Position",
24
- options: {
25
- horizontal: "Horizontal",
26
- vertical: "Vertical"
27
- }
28
- }
4
+ elementDisplayName: "HIPAA Certification",
5
+ customActions: {
6
+ hipaaSettings: "HIPAA Settings"
29
7
  },
30
- elements: {
31
- divider: "Divider",
32
- btn: "Buttons",
33
- arrowIcon: "Arrow",
34
- labelBefore: "Before Label",
35
- labelAfter: "After Label"
36
- },
37
- displayGroups: {
38
- iconGroup: "Icon"
8
+ cssProperties: {
9
+ color: "Icon Color",
10
+ backgroundColor: "Background Color"
39
11
  }
40
12
  }
41
13
  };
42
- const CHEVRON_PATH = "M15.5 4.5 8 12l7.5 7.5";
43
- const DEFAULT_SLIDER_POSITION = 50;
44
- const SLIDER_STEP = 10;
45
- const ARIA_LABELS = {
46
- prevButton: "Move slider left",
47
- nextButton: "Move slider right",
48
- handle: "Drag to compare before and after"
14
+ const TRANSLATIONS_NAMESPACE = "ariaLabels";
15
+ const TranslationKeys = {
16
+ ariaLabelCompliant: "hipaaIcon_aria_label_compliant",
17
+ ariaLabelActivate: "hipaaIcon_aria_label_activate",
18
+ activateHeading: "hipaaIcon_activate_heading",
19
+ activateDescription: "hipaaIcon_activate_description"
20
+ };
21
+ const DefaultTranslations = {
22
+ ariaLabelCompliant: "HIPAA Compliant",
23
+ ariaLabelActivate: "HIPAA Certification",
24
+ activateHeading: "Activate HIPAA",
25
+ activateDescription: "Go to Manage > Purchase & Activate HIPAA Compliance"
49
26
  };
50
27
  export {
51
- ARIA_LABELS as A,
52
- CHEVRON_PATH as C,
53
- DEFAULT_SLIDER_POSITION as D,
54
- SLIDER_STEP as S,
55
- DisplayNames as a,
56
- defaultValues as d,
57
- manifestClasses as m
28
+ DefaultTranslations as D,
29
+ HIPAA_SETTINGS_PANEL_ID as H,
30
+ TranslationKeys as T,
31
+ TRANSLATIONS_NAMESPACE as a,
32
+ DisplayNames as b
58
33
  };
@@ -1,33 +1,64 @@
1
- const HIPAA_SETTINGS_PANEL_ID = "e4a7c1d3-8f2b-4e6a-9d5c-3b1f7a2e8c4d";
1
+ const presets = {
2
+ horizontal: "horizontal",
3
+ vertical: "vertical"
4
+ };
5
+ const manifestClasses = {
6
+ root: "heading-text-block",
7
+ heading: "heading-text-block-heading",
8
+ title: "heading-text-block-title",
9
+ subtitle: "heading-text-block-subtitle",
10
+ caption: "heading-text-block-caption"
11
+ };
12
+ const defaultValues = {
13
+ headingTag: "h1",
14
+ heading: "",
15
+ title: "",
16
+ subtitle: "",
17
+ caption: "",
18
+ partsRowGap: "12px",
19
+ partsColumnGap: "12px"
20
+ };
2
21
  const DisplayNames = {
3
22
  root: {
4
- elementDisplayName: "HIPAA Certification",
5
- customActions: {
6
- hipaaSettings: "HIPAA Settings"
23
+ elementDisplayName: "Heading Text Block",
24
+ data: {
25
+ headingTag: {
26
+ displayName: "Heading Tag",
27
+ options: {
28
+ h1: "H1",
29
+ h2: "H2",
30
+ h3: "H3",
31
+ h4: "H4",
32
+ h5: "H5",
33
+ h6: "H6"
34
+ }
35
+ },
36
+ heading: "Heading",
37
+ title: "Title",
38
+ subtitle: "Subtitle",
39
+ caption: "Caption"
40
+ },
41
+ elements: {
42
+ heading: "Heading",
43
+ title: "Title",
44
+ subtitle: "Subtitle",
45
+ caption: "Caption"
7
46
  },
8
- cssProperties: {
9
- color: "Icon Color",
10
- backgroundColor: "Background Color"
47
+ displayGroups: {
48
+ partsSpacing: "Parts Spacing"
49
+ },
50
+ presets: {
51
+ horizontal: "Row",
52
+ vertical: "Stacked"
53
+ },
54
+ customActions: {
55
+ layout: "Layout"
11
56
  }
12
57
  }
13
58
  };
14
- const TRANSLATIONS_NAMESPACE = "ariaLabels";
15
- const TranslationKeys = {
16
- ariaLabelCompliant: "hipaaIcon_aria_label_compliant",
17
- ariaLabelActivate: "hipaaIcon_aria_label_activate",
18
- activateHeading: "hipaaIcon_activate_heading",
19
- activateDescription: "hipaaIcon_activate_description"
20
- };
21
- const DefaultTranslations = {
22
- ariaLabelCompliant: "HIPAA Compliant",
23
- ariaLabelActivate: "HIPAA Certification",
24
- activateHeading: "Activate HIPAA",
25
- activateDescription: "Go to Manage > Purchase & Activate HIPAA Compliance"
26
- };
27
59
  export {
28
- DefaultTranslations as D,
29
- HIPAA_SETTINGS_PANEL_ID as H,
30
- TranslationKeys as T,
31
- TRANSLATIONS_NAMESPACE as a,
32
- DisplayNames as b
60
+ DisplayNames as D,
61
+ defaultValues as d,
62
+ manifestClasses as m,
63
+ presets as p
33
64
  };