@wix/editor-react-components 1.2806.0 → 1.2807.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 (467) 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/AudioPlayer/component.js +1 -1
  4. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  5. package/dist/site/components/BoxContainer/component.js +1 -2
  6. package/dist/site/components/BoxContainer/constants.d.ts +10 -2
  7. package/dist/site/components/BoxContainer/manifest.js +5 -4
  8. package/dist/site/components/Breadcrumbs/component.js +7 -6
  9. package/dist/site/components/Breadcrumbs/constants.d.ts +3 -0
  10. package/dist/site/components/Breadcrumbs/manifest.js +5 -2
  11. package/dist/site/components/DatePicker/component.js +4 -6
  12. package/dist/site/components/DatePicker/constants.d.ts +7 -3
  13. package/dist/site/components/DatePicker/manifest.js +6 -4
  14. package/dist/site/components/Dropdown/component.js +8 -2
  15. package/dist/site/components/Dropdown/constants.d.ts +3 -1
  16. package/dist/site/components/Dropdown/manifest.js +5 -3
  17. package/dist/site/components/GoogleMap/component.js +15 -24
  18. package/dist/site/components/GoogleMap/consts.d.ts +12 -0
  19. package/dist/site/components/GoogleMap/manifest.js +5 -8
  20. package/dist/site/components/HTMLComponent/component.js +11 -12
  21. package/dist/site/components/HTMLComponent/constants.d.ts +5 -1
  22. package/dist/site/components/HTMLComponent/manifest.js +6 -15
  23. package/dist/site/components/HipaaIcon/component.js +7 -9
  24. package/dist/site/components/HipaaIcon/constants.d.ts +7 -0
  25. package/dist/site/components/HipaaIcon/manifest.js +6 -4
  26. package/dist/site/components/LinkBar/component.js +9 -5
  27. package/dist/site/components/LinkBar/constants.d.ts +10 -2
  28. package/dist/site/components/LinkBar/manifest.js +5 -4
  29. package/dist/site/components/Lottie/component.js +7 -4
  30. package/dist/site/components/Lottie/constants.d.ts +5 -0
  31. package/dist/site/components/Lottie/manifest.js +6 -8
  32. package/dist/site/components/MarkdownBlock/component.js +7 -7
  33. package/dist/site/components/MarkdownBlock/constants.d.ts +4 -0
  34. package/dist/site/components/MarkdownBlock/manifest.js +6 -4
  35. package/dist/site/components/Menu/component.js +11 -19
  36. package/dist/site/components/Menu/constants.d.ts +11 -4
  37. package/dist/site/components/Menu/manifest.js +6 -12
  38. package/dist/site/components/Repeater/constants.d.ts +4 -0
  39. package/dist/site/components/Repeater/manifest.js +5 -7
  40. package/dist/site/components/ShareButtons/component.js +40 -16
  41. package/dist/site/components/ShareButtons/constants.d.ts +17 -5
  42. package/dist/site/components/ShareButtons/manifest.js +6 -8
  43. package/dist/site/components/Slideshow/component.js +7 -4
  44. package/dist/site/components/Slideshow/constants.d.ts +5 -0
  45. package/dist/site/components/Slideshow/manifest.js +6 -4
  46. package/dist/site/components/TextMarquee/component.js +13 -14
  47. package/dist/site/components/TextMarquee/components/constants.d.ts +4 -0
  48. package/dist/site/components/TextMarquee/consts.d.ts +1 -0
  49. package/dist/site/components/TextMarquee/manifest.js +6 -27
  50. package/dist/site/components/TimePicker/component.js +8 -2
  51. package/dist/site/components/TimePicker/constants.d.ts +3 -1
  52. package/dist/site/components/TimePicker/manifest.js +6 -4
  53. package/dist/site/components/VideoScrub/component.js +8 -11
  54. package/dist/site/components/VideoScrub/constants.d.ts +3 -1
  55. package/dist/site/components/VideoScrub/manifest.js +6 -4
  56. package/dist/site/components/chunks/Slideshow.semanticClassNames.js +7 -0
  57. package/dist/site/components/chunks/constants2.js +7 -1
  58. package/dist/site/components/chunks/constants22.js +26 -19
  59. package/dist/site/components/chunks/constants23.js +2 -0
  60. package/dist/site/components/chunks/constants27.js +9 -0
  61. package/dist/site/components/chunks/constants28.js +7 -1
  62. package/dist/site/components/chunks/constants29.js +7 -0
  63. package/dist/site/components/chunks/constants31.js +16 -6
  64. package/dist/site/components/chunks/constants33.js +11 -2
  65. package/dist/site/components/chunks/constants35.js +21 -16
  66. package/dist/site/components/chunks/constants36.js +7 -1
  67. package/dist/site/components/chunks/constants37.js +12 -2
  68. package/dist/site/components/chunks/constants41.js +6 -2
  69. package/dist/site/components/chunks/constants42.js +13 -85
  70. package/dist/site/components/chunks/constants43.js +75 -56
  71. package/dist/site/components/chunks/constants44.js +72 -0
  72. package/dist/site/components/chunks/consts.js +19 -114
  73. package/dist/site/components/chunks/consts2.js +138 -0
  74. package/dist/site/components/chunks/index4.js +1 -1
  75. package/dist/site/components/chunks/translationResources.js +46 -0
  76. package/dist/site/components/chunks/types.js +7 -3
  77. package/dist/site/components/chunks/useConsentPolicyProps.js +17 -182
  78. package/dist/site/components/chunks/utils4.js +243 -0
  79. package/dist/site/components/translations/BoxContainer/messages_ar.json +3 -0
  80. package/dist/site/components/translations/BoxContainer/messages_bg.json +3 -0
  81. package/dist/site/components/translations/BoxContainer/messages_ca.json +3 -0
  82. package/dist/site/components/translations/BoxContainer/messages_cs.json +3 -0
  83. package/dist/site/components/translations/BoxContainer/messages_da.json +3 -0
  84. package/dist/site/components/translations/BoxContainer/messages_de.json +3 -0
  85. package/dist/site/components/translations/BoxContainer/messages_el.json +3 -0
  86. package/dist/site/components/translations/BoxContainer/messages_en.json +3 -0
  87. package/dist/site/components/translations/BoxContainer/messages_es.json +3 -0
  88. package/dist/site/components/translations/BoxContainer/messages_fi.json +3 -0
  89. package/dist/site/components/translations/BoxContainer/messages_fr.json +3 -0
  90. package/dist/site/components/translations/BoxContainer/messages_he.json +3 -0
  91. package/dist/site/components/translations/BoxContainer/messages_hi.json +3 -0
  92. package/dist/site/components/translations/BoxContainer/messages_hr.json +3 -0
  93. package/dist/site/components/translations/BoxContainer/messages_hu.json +3 -0
  94. package/dist/site/components/translations/BoxContainer/messages_id.json +3 -0
  95. package/dist/site/components/translations/BoxContainer/messages_it.json +3 -0
  96. package/dist/site/components/translations/BoxContainer/messages_ja.json +3 -0
  97. package/dist/site/components/translations/BoxContainer/messages_ko.json +3 -0
  98. package/dist/site/components/translations/BoxContainer/messages_lt.json +3 -0
  99. package/dist/site/components/translations/BoxContainer/messages_lv.json +3 -0
  100. package/dist/site/components/translations/BoxContainer/messages_ms.json +3 -0
  101. package/dist/site/components/translations/BoxContainer/messages_nl.json +3 -0
  102. package/dist/site/components/translations/BoxContainer/messages_no.json +3 -0
  103. package/dist/site/components/translations/BoxContainer/messages_pl.json +3 -0
  104. package/dist/site/components/translations/BoxContainer/messages_pt.json +3 -0
  105. package/dist/site/components/translations/BoxContainer/messages_ro.json +3 -0
  106. package/dist/site/components/translations/BoxContainer/messages_ru.json +3 -0
  107. package/dist/site/components/translations/BoxContainer/messages_sv.json +3 -0
  108. package/dist/site/components/translations/BoxContainer/messages_th.json +3 -0
  109. package/dist/site/components/translations/BoxContainer/messages_tl.json +3 -0
  110. package/dist/site/components/translations/BoxContainer/messages_tr.json +3 -0
  111. package/dist/site/components/translations/BoxContainer/messages_uk.json +3 -0
  112. package/dist/site/components/translations/BoxContainer/messages_vi.json +3 -0
  113. package/dist/site/components/translations/BoxContainer/messages_zh.json +3 -0
  114. package/dist/site/components/translations/Breadcrumbs/messages_ar.json +3 -0
  115. package/dist/site/components/translations/Breadcrumbs/messages_bg.json +3 -0
  116. package/dist/site/components/translations/Breadcrumbs/messages_ca.json +3 -0
  117. package/dist/site/components/translations/Breadcrumbs/messages_cs.json +3 -0
  118. package/dist/site/components/translations/Breadcrumbs/messages_da.json +3 -0
  119. package/dist/site/components/translations/Breadcrumbs/messages_de.json +3 -0
  120. package/dist/site/components/translations/Breadcrumbs/messages_el.json +3 -0
  121. package/dist/site/components/translations/Breadcrumbs/messages_en.json +3 -0
  122. package/dist/site/components/translations/Breadcrumbs/messages_es.json +3 -0
  123. package/dist/site/components/translations/Breadcrumbs/messages_fi.json +3 -0
  124. package/dist/site/components/translations/Breadcrumbs/messages_fr.json +3 -0
  125. package/dist/site/components/translations/Breadcrumbs/messages_he.json +3 -0
  126. package/dist/site/components/translations/Breadcrumbs/messages_hi.json +3 -0
  127. package/dist/site/components/translations/Breadcrumbs/messages_hr.json +3 -0
  128. package/dist/site/components/translations/Breadcrumbs/messages_hu.json +3 -0
  129. package/dist/site/components/translations/Breadcrumbs/messages_id.json +3 -0
  130. package/dist/site/components/translations/Breadcrumbs/messages_it.json +3 -0
  131. package/dist/site/components/translations/Breadcrumbs/messages_ja.json +3 -0
  132. package/dist/site/components/translations/Breadcrumbs/messages_ko.json +3 -0
  133. package/dist/site/components/translations/Breadcrumbs/messages_lt.json +3 -0
  134. package/dist/site/components/translations/Breadcrumbs/messages_lv.json +3 -0
  135. package/dist/site/components/translations/Breadcrumbs/messages_ms.json +3 -0
  136. package/dist/site/components/translations/Breadcrumbs/messages_nl.json +3 -0
  137. package/dist/site/components/translations/Breadcrumbs/messages_no.json +3 -0
  138. package/dist/site/components/translations/Breadcrumbs/messages_pl.json +3 -0
  139. package/dist/site/components/translations/Breadcrumbs/messages_pt.json +3 -0
  140. package/dist/site/components/translations/Breadcrumbs/messages_ro.json +3 -0
  141. package/dist/site/components/translations/Breadcrumbs/messages_ru.json +3 -0
  142. package/dist/site/components/translations/Breadcrumbs/messages_sv.json +3 -0
  143. package/dist/site/components/translations/Breadcrumbs/messages_th.json +3 -0
  144. package/dist/site/components/translations/Breadcrumbs/messages_tl.json +3 -0
  145. package/dist/site/components/translations/Breadcrumbs/messages_tr.json +3 -0
  146. package/dist/site/components/translations/Breadcrumbs/messages_uk.json +3 -0
  147. package/dist/site/components/translations/Breadcrumbs/messages_vi.json +3 -0
  148. package/dist/site/components/translations/Breadcrumbs/messages_zh.json +3 -0
  149. package/dist/site/components/translations/GoogleMap/messages_ar.json +22 -0
  150. package/dist/site/components/translations/GoogleMap/messages_bg.json +22 -0
  151. package/dist/site/components/translations/GoogleMap/messages_ca.json +22 -0
  152. package/dist/site/components/translations/GoogleMap/messages_cs.json +22 -0
  153. package/dist/site/components/translations/GoogleMap/messages_da.json +22 -0
  154. package/dist/site/components/translations/GoogleMap/messages_de.json +22 -0
  155. package/dist/site/components/translations/GoogleMap/messages_el.json +22 -0
  156. package/dist/site/components/translations/GoogleMap/messages_en.json +22 -0
  157. package/dist/site/components/translations/GoogleMap/messages_es.json +22 -0
  158. package/dist/site/components/translations/GoogleMap/messages_fi.json +22 -0
  159. package/dist/site/components/translations/GoogleMap/messages_fr.json +22 -0
  160. package/dist/site/components/translations/GoogleMap/messages_he.json +22 -0
  161. package/dist/site/components/translations/GoogleMap/messages_hi.json +22 -0
  162. package/dist/site/components/translations/GoogleMap/messages_hr.json +22 -0
  163. package/dist/site/components/translations/GoogleMap/messages_hu.json +22 -0
  164. package/dist/site/components/translations/GoogleMap/messages_id.json +22 -0
  165. package/dist/site/components/translations/GoogleMap/messages_it.json +22 -0
  166. package/dist/site/components/translations/GoogleMap/messages_ja.json +22 -0
  167. package/dist/site/components/translations/GoogleMap/messages_ko.json +22 -0
  168. package/dist/site/components/translations/GoogleMap/messages_lt.json +22 -0
  169. package/dist/site/components/translations/GoogleMap/messages_lv.json +22 -0
  170. package/dist/site/components/translations/GoogleMap/messages_ms.json +22 -0
  171. package/dist/site/components/translations/GoogleMap/messages_nl.json +22 -0
  172. package/dist/site/components/translations/GoogleMap/messages_no.json +22 -0
  173. package/dist/site/components/translations/GoogleMap/messages_pl.json +22 -0
  174. package/dist/site/components/translations/GoogleMap/messages_pt.json +22 -0
  175. package/dist/site/components/translations/GoogleMap/messages_ro.json +22 -0
  176. package/dist/site/components/translations/GoogleMap/messages_ru.json +22 -0
  177. package/dist/site/components/translations/GoogleMap/messages_sv.json +22 -0
  178. package/dist/site/components/translations/GoogleMap/messages_th.json +22 -0
  179. package/dist/site/components/translations/GoogleMap/messages_tl.json +22 -0
  180. package/dist/site/components/translations/GoogleMap/messages_tr.json +22 -0
  181. package/dist/site/components/translations/GoogleMap/messages_uk.json +22 -0
  182. package/dist/site/components/translations/GoogleMap/messages_vi.json +22 -0
  183. package/dist/site/components/translations/GoogleMap/messages_zh.json +22 -0
  184. package/dist/site/components/translations/HTMLComponent/messages_ar.json +19 -0
  185. package/dist/site/components/translations/HTMLComponent/messages_bg.json +19 -0
  186. package/dist/site/components/translations/HTMLComponent/messages_ca.json +19 -0
  187. package/dist/site/components/translations/HTMLComponent/messages_cs.json +19 -0
  188. package/dist/site/components/translations/HTMLComponent/messages_da.json +19 -0
  189. package/dist/site/components/translations/HTMLComponent/messages_de.json +19 -0
  190. package/dist/site/components/translations/HTMLComponent/messages_el.json +19 -0
  191. package/dist/site/components/translations/HTMLComponent/messages_en.json +19 -0
  192. package/dist/site/components/translations/HTMLComponent/messages_es.json +19 -0
  193. package/dist/site/components/translations/HTMLComponent/messages_fi.json +19 -0
  194. package/dist/site/components/translations/HTMLComponent/messages_fr.json +19 -0
  195. package/dist/site/components/translations/HTMLComponent/messages_he.json +19 -0
  196. package/dist/site/components/translations/HTMLComponent/messages_hi.json +19 -0
  197. package/dist/site/components/translations/HTMLComponent/messages_hr.json +19 -0
  198. package/dist/site/components/translations/HTMLComponent/messages_hu.json +19 -0
  199. package/dist/site/components/translations/HTMLComponent/messages_id.json +19 -0
  200. package/dist/site/components/translations/HTMLComponent/messages_it.json +19 -0
  201. package/dist/site/components/translations/HTMLComponent/messages_ja.json +19 -0
  202. package/dist/site/components/translations/HTMLComponent/messages_ko.json +19 -0
  203. package/dist/site/components/translations/HTMLComponent/messages_lt.json +19 -0
  204. package/dist/site/components/translations/HTMLComponent/messages_lv.json +19 -0
  205. package/dist/site/components/translations/HTMLComponent/messages_ms.json +19 -0
  206. package/dist/site/components/translations/HTMLComponent/messages_nl.json +19 -0
  207. package/dist/site/components/translations/HTMLComponent/messages_no.json +19 -0
  208. package/dist/site/components/translations/HTMLComponent/messages_pl.json +19 -0
  209. package/dist/site/components/translations/HTMLComponent/messages_pt.json +19 -0
  210. package/dist/site/components/translations/HTMLComponent/messages_ro.json +19 -0
  211. package/dist/site/components/translations/HTMLComponent/messages_ru.json +19 -0
  212. package/dist/site/components/translations/HTMLComponent/messages_sv.json +19 -0
  213. package/dist/site/components/translations/HTMLComponent/messages_th.json +19 -0
  214. package/dist/site/components/translations/HTMLComponent/messages_tl.json +19 -0
  215. package/dist/site/components/translations/HTMLComponent/messages_tr.json +19 -0
  216. package/dist/site/components/translations/HTMLComponent/messages_uk.json +19 -0
  217. package/dist/site/components/translations/HTMLComponent/messages_vi.json +19 -0
  218. package/dist/site/components/translations/HTMLComponent/messages_zh.json +19 -0
  219. package/dist/site/components/translations/HipaaIcon/messages_ar.json +4 -0
  220. package/dist/site/components/translations/HipaaIcon/messages_bg.json +4 -0
  221. package/dist/site/components/translations/HipaaIcon/messages_ca.json +4 -0
  222. package/dist/site/components/translations/HipaaIcon/messages_cs.json +4 -0
  223. package/dist/site/components/translations/HipaaIcon/messages_da.json +4 -0
  224. package/dist/site/components/translations/HipaaIcon/messages_de.json +4 -0
  225. package/dist/site/components/translations/HipaaIcon/messages_el.json +4 -0
  226. package/dist/site/components/translations/HipaaIcon/messages_en.json +4 -0
  227. package/dist/site/components/translations/HipaaIcon/messages_es.json +4 -0
  228. package/dist/site/components/translations/HipaaIcon/messages_fi.json +4 -0
  229. package/dist/site/components/translations/HipaaIcon/messages_fr.json +4 -0
  230. package/dist/site/components/translations/HipaaIcon/messages_he.json +4 -0
  231. package/dist/site/components/translations/HipaaIcon/messages_hi.json +4 -0
  232. package/dist/site/components/translations/HipaaIcon/messages_hr.json +4 -0
  233. package/dist/site/components/translations/HipaaIcon/messages_hu.json +4 -0
  234. package/dist/site/components/translations/HipaaIcon/messages_id.json +4 -0
  235. package/dist/site/components/translations/HipaaIcon/messages_it.json +4 -0
  236. package/dist/site/components/translations/HipaaIcon/messages_ja.json +4 -0
  237. package/dist/site/components/translations/HipaaIcon/messages_ko.json +4 -0
  238. package/dist/site/components/translations/HipaaIcon/messages_lt.json +4 -0
  239. package/dist/site/components/translations/HipaaIcon/messages_lv.json +4 -0
  240. package/dist/site/components/translations/HipaaIcon/messages_ms.json +4 -0
  241. package/dist/site/components/translations/HipaaIcon/messages_nl.json +4 -0
  242. package/dist/site/components/translations/HipaaIcon/messages_no.json +4 -0
  243. package/dist/site/components/translations/HipaaIcon/messages_pl.json +4 -0
  244. package/dist/site/components/translations/HipaaIcon/messages_pt.json +4 -0
  245. package/dist/site/components/translations/HipaaIcon/messages_ro.json +4 -0
  246. package/dist/site/components/translations/HipaaIcon/messages_ru.json +4 -0
  247. package/dist/site/components/translations/HipaaIcon/messages_sv.json +4 -0
  248. package/dist/site/components/translations/HipaaIcon/messages_th.json +4 -0
  249. package/dist/site/components/translations/HipaaIcon/messages_tl.json +4 -0
  250. package/dist/site/components/translations/HipaaIcon/messages_tr.json +4 -0
  251. package/dist/site/components/translations/HipaaIcon/messages_uk.json +4 -0
  252. package/dist/site/components/translations/HipaaIcon/messages_vi.json +4 -0
  253. package/dist/site/components/translations/HipaaIcon/messages_zh.json +4 -0
  254. package/dist/site/components/translations/LinkBar/messages_ar.json +3 -0
  255. package/dist/site/components/translations/LinkBar/messages_bg.json +3 -0
  256. package/dist/site/components/translations/LinkBar/messages_ca.json +3 -0
  257. package/dist/site/components/translations/LinkBar/messages_cs.json +3 -0
  258. package/dist/site/components/translations/LinkBar/messages_da.json +3 -0
  259. package/dist/site/components/translations/LinkBar/messages_de.json +3 -0
  260. package/dist/site/components/translations/LinkBar/messages_el.json +3 -0
  261. package/dist/site/components/translations/LinkBar/messages_en.json +3 -0
  262. package/dist/site/components/translations/LinkBar/messages_es.json +3 -0
  263. package/dist/site/components/translations/LinkBar/messages_fi.json +3 -0
  264. package/dist/site/components/translations/LinkBar/messages_fr.json +3 -0
  265. package/dist/site/components/translations/LinkBar/messages_he.json +3 -0
  266. package/dist/site/components/translations/LinkBar/messages_hi.json +3 -0
  267. package/dist/site/components/translations/LinkBar/messages_hr.json +3 -0
  268. package/dist/site/components/translations/LinkBar/messages_hu.json +3 -0
  269. package/dist/site/components/translations/LinkBar/messages_id.json +3 -0
  270. package/dist/site/components/translations/LinkBar/messages_it.json +3 -0
  271. package/dist/site/components/translations/LinkBar/messages_ja.json +3 -0
  272. package/dist/site/components/translations/LinkBar/messages_ko.json +3 -0
  273. package/dist/site/components/translations/LinkBar/messages_lt.json +3 -0
  274. package/dist/site/components/translations/LinkBar/messages_lv.json +3 -0
  275. package/dist/site/components/translations/LinkBar/messages_ms.json +3 -0
  276. package/dist/site/components/translations/LinkBar/messages_nl.json +3 -0
  277. package/dist/site/components/translations/LinkBar/messages_no.json +3 -0
  278. package/dist/site/components/translations/LinkBar/messages_pl.json +3 -0
  279. package/dist/site/components/translations/LinkBar/messages_pt.json +3 -0
  280. package/dist/site/components/translations/LinkBar/messages_ro.json +3 -0
  281. package/dist/site/components/translations/LinkBar/messages_ru.json +3 -0
  282. package/dist/site/components/translations/LinkBar/messages_sv.json +3 -0
  283. package/dist/site/components/translations/LinkBar/messages_th.json +3 -0
  284. package/dist/site/components/translations/LinkBar/messages_tl.json +3 -0
  285. package/dist/site/components/translations/LinkBar/messages_tr.json +3 -0
  286. package/dist/site/components/translations/LinkBar/messages_uk.json +3 -0
  287. package/dist/site/components/translations/LinkBar/messages_vi.json +3 -0
  288. package/dist/site/components/translations/LinkBar/messages_zh.json +3 -0
  289. package/dist/site/components/translations/Lottie/messages_ar.json +4 -0
  290. package/dist/site/components/translations/Lottie/messages_bg.json +4 -0
  291. package/dist/site/components/translations/Lottie/messages_ca.json +4 -0
  292. package/dist/site/components/translations/Lottie/messages_cs.json +4 -0
  293. package/dist/site/components/translations/Lottie/messages_da.json +4 -0
  294. package/dist/site/components/translations/Lottie/messages_de.json +4 -0
  295. package/dist/site/components/translations/Lottie/messages_el.json +4 -0
  296. package/dist/site/components/translations/Lottie/messages_en.json +4 -0
  297. package/dist/site/components/translations/Lottie/messages_es.json +4 -0
  298. package/dist/site/components/translations/Lottie/messages_fi.json +4 -0
  299. package/dist/site/components/translations/Lottie/messages_fr.json +4 -0
  300. package/dist/site/components/translations/Lottie/messages_he.json +4 -0
  301. package/dist/site/components/translations/Lottie/messages_hi.json +4 -0
  302. package/dist/site/components/translations/Lottie/messages_hr.json +4 -0
  303. package/dist/site/components/translations/Lottie/messages_hu.json +4 -0
  304. package/dist/site/components/translations/Lottie/messages_id.json +4 -0
  305. package/dist/site/components/translations/Lottie/messages_it.json +4 -0
  306. package/dist/site/components/translations/Lottie/messages_ja.json +4 -0
  307. package/dist/site/components/translations/Lottie/messages_ko.json +4 -0
  308. package/dist/site/components/translations/Lottie/messages_lt.json +4 -0
  309. package/dist/site/components/translations/Lottie/messages_lv.json +4 -0
  310. package/dist/site/components/translations/Lottie/messages_ms.json +4 -0
  311. package/dist/site/components/translations/Lottie/messages_nl.json +4 -0
  312. package/dist/site/components/translations/Lottie/messages_no.json +4 -0
  313. package/dist/site/components/translations/Lottie/messages_pl.json +4 -0
  314. package/dist/site/components/translations/Lottie/messages_pt.json +4 -0
  315. package/dist/site/components/translations/Lottie/messages_ro.json +4 -0
  316. package/dist/site/components/translations/Lottie/messages_ru.json +4 -0
  317. package/dist/site/components/translations/Lottie/messages_sv.json +4 -0
  318. package/dist/site/components/translations/Lottie/messages_th.json +4 -0
  319. package/dist/site/components/translations/Lottie/messages_tl.json +4 -0
  320. package/dist/site/components/translations/Lottie/messages_tr.json +4 -0
  321. package/dist/site/components/translations/Lottie/messages_uk.json +4 -0
  322. package/dist/site/components/translations/Lottie/messages_vi.json +4 -0
  323. package/dist/site/components/translations/Lottie/messages_zh.json +4 -0
  324. package/dist/site/components/translations/Menu/messages_ar.json +6 -0
  325. package/dist/site/components/translations/Menu/messages_bg.json +6 -0
  326. package/dist/site/components/translations/Menu/messages_ca.json +6 -0
  327. package/dist/site/components/translations/Menu/messages_cs.json +6 -0
  328. package/dist/site/components/translations/Menu/messages_da.json +6 -0
  329. package/dist/site/components/translations/Menu/messages_de.json +6 -0
  330. package/dist/site/components/translations/Menu/messages_el.json +6 -0
  331. package/dist/site/components/translations/Menu/messages_en.json +6 -0
  332. package/dist/site/components/translations/Menu/messages_es.json +6 -0
  333. package/dist/site/components/translations/Menu/messages_fi.json +6 -0
  334. package/dist/site/components/translations/Menu/messages_fr.json +6 -0
  335. package/dist/site/components/translations/Menu/messages_he.json +6 -0
  336. package/dist/site/components/translations/Menu/messages_hi.json +6 -0
  337. package/dist/site/components/translations/Menu/messages_hr.json +6 -0
  338. package/dist/site/components/translations/Menu/messages_hu.json +6 -0
  339. package/dist/site/components/translations/Menu/messages_id.json +6 -0
  340. package/dist/site/components/translations/Menu/messages_it.json +6 -0
  341. package/dist/site/components/translations/Menu/messages_ja.json +6 -0
  342. package/dist/site/components/translations/Menu/messages_ko.json +6 -0
  343. package/dist/site/components/translations/Menu/messages_lt.json +6 -0
  344. package/dist/site/components/translations/Menu/messages_lv.json +6 -0
  345. package/dist/site/components/translations/Menu/messages_ms.json +6 -0
  346. package/dist/site/components/translations/Menu/messages_nl.json +6 -0
  347. package/dist/site/components/translations/Menu/messages_no.json +6 -0
  348. package/dist/site/components/translations/Menu/messages_pl.json +6 -0
  349. package/dist/site/components/translations/Menu/messages_pt.json +6 -0
  350. package/dist/site/components/translations/Menu/messages_ro.json +6 -0
  351. package/dist/site/components/translations/Menu/messages_ru.json +6 -0
  352. package/dist/site/components/translations/Menu/messages_sv.json +6 -0
  353. package/dist/site/components/translations/Menu/messages_th.json +6 -0
  354. package/dist/site/components/translations/Menu/messages_tl.json +6 -0
  355. package/dist/site/components/translations/Menu/messages_tr.json +6 -0
  356. package/dist/site/components/translations/Menu/messages_uk.json +6 -0
  357. package/dist/site/components/translations/Menu/messages_vi.json +6 -0
  358. package/dist/site/components/translations/Menu/messages_zh.json +6 -0
  359. package/dist/site/components/translations/ShareButtons/messages_ar.json +5 -0
  360. package/dist/site/components/translations/ShareButtons/messages_bg.json +5 -0
  361. package/dist/site/components/translations/ShareButtons/messages_ca.json +5 -0
  362. package/dist/site/components/translations/ShareButtons/messages_cs.json +5 -0
  363. package/dist/site/components/translations/ShareButtons/messages_da.json +5 -0
  364. package/dist/site/components/translations/ShareButtons/messages_de.json +5 -0
  365. package/dist/site/components/translations/ShareButtons/messages_el.json +5 -0
  366. package/dist/site/components/translations/ShareButtons/messages_en.json +5 -0
  367. package/dist/site/components/translations/ShareButtons/messages_es.json +5 -0
  368. package/dist/site/components/translations/ShareButtons/messages_fi.json +5 -0
  369. package/dist/site/components/translations/ShareButtons/messages_fr.json +5 -0
  370. package/dist/site/components/translations/ShareButtons/messages_he.json +5 -0
  371. package/dist/site/components/translations/ShareButtons/messages_hi.json +5 -0
  372. package/dist/site/components/translations/ShareButtons/messages_hr.json +5 -0
  373. package/dist/site/components/translations/ShareButtons/messages_hu.json +5 -0
  374. package/dist/site/components/translations/ShareButtons/messages_id.json +5 -0
  375. package/dist/site/components/translations/ShareButtons/messages_it.json +5 -0
  376. package/dist/site/components/translations/ShareButtons/messages_ja.json +5 -0
  377. package/dist/site/components/translations/ShareButtons/messages_ko.json +5 -0
  378. package/dist/site/components/translations/ShareButtons/messages_lt.json +5 -0
  379. package/dist/site/components/translations/ShareButtons/messages_lv.json +5 -0
  380. package/dist/site/components/translations/ShareButtons/messages_ms.json +5 -0
  381. package/dist/site/components/translations/ShareButtons/messages_nl.json +5 -0
  382. package/dist/site/components/translations/ShareButtons/messages_no.json +5 -0
  383. package/dist/site/components/translations/ShareButtons/messages_pl.json +5 -0
  384. package/dist/site/components/translations/ShareButtons/messages_pt.json +5 -0
  385. package/dist/site/components/translations/ShareButtons/messages_ro.json +5 -0
  386. package/dist/site/components/translations/ShareButtons/messages_ru.json +5 -0
  387. package/dist/site/components/translations/ShareButtons/messages_sv.json +5 -0
  388. package/dist/site/components/translations/ShareButtons/messages_th.json +5 -0
  389. package/dist/site/components/translations/ShareButtons/messages_tl.json +5 -0
  390. package/dist/site/components/translations/ShareButtons/messages_tr.json +5 -0
  391. package/dist/site/components/translations/ShareButtons/messages_uk.json +5 -0
  392. package/dist/site/components/translations/ShareButtons/messages_vi.json +5 -0
  393. package/dist/site/components/translations/ShareButtons/messages_zh.json +5 -0
  394. package/dist/site/components/translations/Slideshow/messages_ar.json +4 -0
  395. package/dist/site/components/translations/Slideshow/messages_bg.json +4 -0
  396. package/dist/site/components/translations/Slideshow/messages_ca.json +4 -0
  397. package/dist/site/components/translations/Slideshow/messages_cs.json +4 -0
  398. package/dist/site/components/translations/Slideshow/messages_da.json +4 -0
  399. package/dist/site/components/translations/Slideshow/messages_de.json +4 -0
  400. package/dist/site/components/translations/Slideshow/messages_el.json +4 -0
  401. package/dist/site/components/translations/Slideshow/messages_en.json +4 -0
  402. package/dist/site/components/translations/Slideshow/messages_es.json +4 -0
  403. package/dist/site/components/translations/Slideshow/messages_fi.json +4 -0
  404. package/dist/site/components/translations/Slideshow/messages_fr.json +4 -0
  405. package/dist/site/components/translations/Slideshow/messages_he.json +4 -0
  406. package/dist/site/components/translations/Slideshow/messages_hi.json +4 -0
  407. package/dist/site/components/translations/Slideshow/messages_hr.json +4 -0
  408. package/dist/site/components/translations/Slideshow/messages_hu.json +4 -0
  409. package/dist/site/components/translations/Slideshow/messages_id.json +4 -0
  410. package/dist/site/components/translations/Slideshow/messages_it.json +4 -0
  411. package/dist/site/components/translations/Slideshow/messages_ja.json +4 -0
  412. package/dist/site/components/translations/Slideshow/messages_ko.json +4 -0
  413. package/dist/site/components/translations/Slideshow/messages_lt.json +4 -0
  414. package/dist/site/components/translations/Slideshow/messages_lv.json +4 -0
  415. package/dist/site/components/translations/Slideshow/messages_ms.json +4 -0
  416. package/dist/site/components/translations/Slideshow/messages_nl.json +4 -0
  417. package/dist/site/components/translations/Slideshow/messages_no.json +4 -0
  418. package/dist/site/components/translations/Slideshow/messages_pl.json +4 -0
  419. package/dist/site/components/translations/Slideshow/messages_pt.json +4 -0
  420. package/dist/site/components/translations/Slideshow/messages_ro.json +4 -0
  421. package/dist/site/components/translations/Slideshow/messages_ru.json +4 -0
  422. package/dist/site/components/translations/Slideshow/messages_sv.json +4 -0
  423. package/dist/site/components/translations/Slideshow/messages_th.json +4 -0
  424. package/dist/site/components/translations/Slideshow/messages_tl.json +4 -0
  425. package/dist/site/components/translations/Slideshow/messages_tr.json +4 -0
  426. package/dist/site/components/translations/Slideshow/messages_uk.json +4 -0
  427. package/dist/site/components/translations/Slideshow/messages_vi.json +4 -0
  428. package/dist/site/components/translations/Slideshow/messages_zh.json +4 -0
  429. package/dist/site/components/translations/TextMarquee/messages_ar.json +4 -0
  430. package/dist/site/components/translations/TextMarquee/messages_bg.json +4 -0
  431. package/dist/site/components/translations/TextMarquee/messages_ca.json +4 -0
  432. package/dist/site/components/translations/TextMarquee/messages_cs.json +4 -0
  433. package/dist/site/components/translations/TextMarquee/messages_da.json +4 -0
  434. package/dist/site/components/translations/TextMarquee/messages_de.json +4 -0
  435. package/dist/site/components/translations/TextMarquee/messages_el.json +4 -0
  436. package/dist/site/components/translations/TextMarquee/messages_en.json +4 -0
  437. package/dist/site/components/translations/TextMarquee/messages_es.json +4 -0
  438. package/dist/site/components/translations/TextMarquee/messages_fi.json +4 -0
  439. package/dist/site/components/translations/TextMarquee/messages_fr.json +4 -0
  440. package/dist/site/components/translations/TextMarquee/messages_he.json +4 -0
  441. package/dist/site/components/translations/TextMarquee/messages_hi.json +4 -0
  442. package/dist/site/components/translations/TextMarquee/messages_hr.json +4 -0
  443. package/dist/site/components/translations/TextMarquee/messages_hu.json +4 -0
  444. package/dist/site/components/translations/TextMarquee/messages_id.json +4 -0
  445. package/dist/site/components/translations/TextMarquee/messages_it.json +4 -0
  446. package/dist/site/components/translations/TextMarquee/messages_ja.json +4 -0
  447. package/dist/site/components/translations/TextMarquee/messages_ko.json +4 -0
  448. package/dist/site/components/translations/TextMarquee/messages_lt.json +4 -0
  449. package/dist/site/components/translations/TextMarquee/messages_lv.json +4 -0
  450. package/dist/site/components/translations/TextMarquee/messages_ms.json +4 -0
  451. package/dist/site/components/translations/TextMarquee/messages_nl.json +4 -0
  452. package/dist/site/components/translations/TextMarquee/messages_no.json +4 -0
  453. package/dist/site/components/translations/TextMarquee/messages_pl.json +4 -0
  454. package/dist/site/components/translations/TextMarquee/messages_pt.json +4 -0
  455. package/dist/site/components/translations/TextMarquee/messages_ro.json +4 -0
  456. package/dist/site/components/translations/TextMarquee/messages_ru.json +4 -0
  457. package/dist/site/components/translations/TextMarquee/messages_sv.json +4 -0
  458. package/dist/site/components/translations/TextMarquee/messages_th.json +4 -0
  459. package/dist/site/components/translations/TextMarquee/messages_tl.json +4 -0
  460. package/dist/site/components/translations/TextMarquee/messages_tr.json +4 -0
  461. package/dist/site/components/translations/TextMarquee/messages_uk.json +4 -0
  462. package/dist/site/components/translations/TextMarquee/messages_vi.json +4 -0
  463. package/dist/site/components/translations/TextMarquee/messages_zh.json +4 -0
  464. package/dist/site/components/translations/version_file +1 -0
  465. package/package.json +6 -4
  466. package/dist/site/components/HipaaIcon/utils.d.ts +0 -2
  467. package/dist/site/components/chunks/getTranslation.js +0 -8
@@ -3,7 +3,7 @@ import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
4
  import { T as TranslationsDefinition } from "../chunks/index4.js";
5
5
  import { d as defineService } from "../chunks/index10.js";
6
- import { T as TranslationKeys, D as DefaultTranslations, a as TRANSLATIONS_NAMESPACE } from "../chunks/constants33.js";
6
+ import { C as COMPONENT_TYPE, T as TRANSLATIONS_NAMESPACE, a as TranslationKeys, L as LegacyTranslationKeys, D as DefaultTranslations } from "../chunks/constants33.js";
7
7
  const RendererConfigurationDefinition = defineService("@wix/viewer-service-renderer-configuration");
8
8
  const hipaaIcon = "hipaaIcon__VA3L3";
9
9
  const compliant = "compliant__1NZWT";
@@ -113,12 +113,6 @@ const HipaaBadgeSvg = (props) => /* @__PURE__ */ jsxs(
113
113
  ]
114
114
  }
115
115
  );
116
- const getTranslation = (translate, key) => {
117
- const translationKey = TranslationKeys[key];
118
- const defaultValue = DefaultTranslations[key];
119
- const translated = translate(translationKey);
120
- return translated && translated !== translationKey ? translated : defaultValue;
121
- };
122
116
  const HipaaIcon = ({
123
117
  id,
124
118
  className,
@@ -127,8 +121,12 @@ const HipaaIcon = ({
127
121
  }) => {
128
122
  const { translate } = useService(TranslationsDefinition);
129
123
  const { isHipaaCompliant } = useService(RendererConfigurationDefinition);
130
- const translateByKey = translate(TRANSLATIONS_NAMESPACE);
131
- const t = (key) => getTranslation(translateByKey, key);
124
+ const translateOwn = translate(COMPONENT_TYPE);
125
+ const translateLegacy = translate(TRANSLATIONS_NAMESPACE);
126
+ const t = (key) => translateOwn(
127
+ TranslationKeys[key],
128
+ translateLegacy(LegacyTranslationKeys[key], DefaultTranslations[key])
129
+ );
132
130
  if (!isHipaaCompliant && !isEditor) {
133
131
  return null;
134
132
  }
@@ -1,3 +1,4 @@
1
+ export declare const COMPONENT_TYPE = "wixEditorElements.HipaaIcon";
1
2
  export declare const HIPAA_SETTINGS_PANEL_ID = "e4a7c1d3-8f2b-4e6a-9d5c-3b1f7a2e8c4d";
2
3
  export declare const DisplayNames: {
3
4
  readonly root: {
@@ -13,6 +14,12 @@ export declare const DisplayNames: {
13
14
  };
14
15
  export declare const TRANSLATIONS_NAMESPACE = "ariaLabels";
15
16
  export declare const TranslationKeys: {
17
+ readonly ariaLabelCompliant: "hipaaIcon.badge.compliant.ariaLabel";
18
+ readonly ariaLabelActivate: "hipaaIcon.badge.activate.ariaLabel";
19
+ readonly activateHeading: "hipaaIcon.activate.title";
20
+ readonly activateDescription: "hipaaIcon.activate.description";
21
+ };
22
+ export declare const LegacyTranslationKeys: {
16
23
  readonly ariaLabelCompliant: "hipaaIcon_aria_label_compliant";
17
24
  readonly ariaLabelActivate: "hipaaIcon_aria_label_activate";
18
25
  readonly activateHeading: "hipaaIcon_activate_heading";
@@ -1,8 +1,9 @@
1
1
  import { D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
- import { b as DisplayNames, H as HIPAA_SETTINGS_PANEL_ID } from "../chunks/constants33.js";
2
+ import { g as getTranslationResources } from "../chunks/translationResources.js";
3
+ import { b as DisplayNames, H as HIPAA_SETTINGS_PANEL_ID, C as COMPONENT_TYPE } from "../chunks/constants33.js";
3
4
  const manifest = {
4
5
  id: "c82c4153-edcc-4b6f-8c99-8d021e3bf5ab",
5
- type: "wixEditorElements.HipaaIcon",
6
+ type: COMPONENT_TYPE,
6
7
  description: "Displays a HIPAA certification widget. Shows activation instructions when not compliant, or a HIPAA Compliant badge when activated.",
7
8
  installation: {
8
9
  initialSize: {
@@ -62,13 +63,14 @@ const manifest = {
62
63
  }
63
64
  },
64
65
  resources: {
66
+ translations: getTranslationResources("HipaaIcon"),
65
67
  client: {
66
68
  componentUrl: "./site/components/HipaaIcon/component.tsx",
67
69
  moduleSpecifier: "@wix/editor-react-components/HipaaIcon",
68
70
  dependencies: {
69
71
  serviceDependencies: [
70
72
  "@wix/viewer-service-renderer-configuration",
71
- "@wix/viewer-service-translations"
73
+ "@wix/site-service-translations"
72
74
  ]
73
75
  }
74
76
  },
@@ -78,7 +80,7 @@ const manifest = {
78
80
  serviceDependencies: [
79
81
  "@wix/viewer-service-renderer-configuration",
80
82
  "@wix/viewer-service-environment",
81
- "@wix/viewer-service-translations"
83
+ "@wix/site-service-translations"
82
84
  ]
83
85
  }
84
86
  }
@@ -6,7 +6,7 @@ import { a as getDataAttributes } from "../chunks/dataUtils.js";
6
6
  import { p as parseSvg } from "../chunks/parseSvg.js";
7
7
  import { c as clsx } from "../chunks/clsx.js";
8
8
  import { L as Link } from "../chunks/Link.js";
9
- import { A as ARIA_LABEL_NAMESPACE, a as ARIA_LABEL_KEY, b as ARIA_LABEL_DEFAULT } from "../chunks/constants31.js";
9
+ import { C as COMPONENT_TYPE, T as TranslationKeys, A as ARIA_LABEL_NAMESPACE, L as LegacyTranslationKeys, D as DefaultTranslations } from "../chunks/constants31.js";
10
10
  import { d as directionStyles } from "../chunks/direction.module.js";
11
11
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
12
12
  const root = "root__yd5w0";
@@ -34,11 +34,15 @@ const LinkButtonIcon = ({ svg }) => {
34
34
  return /* @__PURE__ */ jsx("div", { "aria-hidden": true, className: styles.svgWrapper, children: svgContent });
35
35
  };
36
36
  const LinkBar = (props) => {
37
- const { translate } = useService(
38
- TranslationsDefinition
39
- );
37
+ const { translate } = useService(TranslationsDefinition);
40
38
  const translations = {
41
- ariaLabel: translate(ARIA_LABEL_NAMESPACE)(ARIA_LABEL_KEY) || ARIA_LABEL_DEFAULT
39
+ ariaLabel: translate(COMPONENT_TYPE)(
40
+ TranslationKeys.ariaLabel,
41
+ translate(ARIA_LABEL_NAMESPACE)(
42
+ LegacyTranslationKeys.ariaLabel,
43
+ DefaultTranslations.ariaLabel
44
+ )
45
+ )
42
46
  };
43
47
  const { id, className, onMouseIn, onMouseOut, direction, items, wix, a11y } = props;
44
48
  const presetsWrapperProps = (wix == null ? void 0 : wix.presetsWrapperProps) || {};
@@ -1,3 +1,4 @@
1
+ export declare const COMPONENT_TYPE = "wixEditorElements.SocialBar";
1
2
  export declare const presets: {
2
3
  horizontal: string;
3
4
  vertical: string;
@@ -45,8 +46,15 @@ export declare const DesignStates: {
45
46
  };
46
47
  };
47
48
  export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
48
- export declare const ARIA_LABEL_KEY = "LinkBar_AriaLabel_SocialBarContainer";
49
- export declare const ARIA_LABEL_DEFAULT = "Social Bar";
49
+ export declare const TranslationKeys: {
50
+ readonly ariaLabel: "linkBar.container.ariaLabel";
51
+ };
52
+ export declare const LegacyTranslationKeys: {
53
+ readonly ariaLabel: "LinkBar_AriaLabel_SocialBarContainer";
54
+ };
55
+ export declare const DefaultTranslations: {
56
+ readonly ariaLabel: "Social Bar";
57
+ };
50
58
  export declare const FORMAT_PANEL_BI_PARAMS: {
51
59
  component_type: string;
52
60
  builder_type: string;
@@ -1,11 +1,12 @@
1
1
  import { a as ACTIONS, D as DATA, M as MEDIA, N as NativeStateType, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, I as INTERACTIONS, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
- import { D as DesignStates, p as presets, c as DisplayNames } from "../chunks/constants31.js";
2
+ import { g as getTranslationResources } from "../chunks/translationResources.js";
3
+ import { a as DesignStates, p as presets, b as DisplayNames, C as COMPONENT_TYPE } from "../chunks/constants31.js";
3
4
  import { b as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
4
5
  import { w as withSpec } from "../chunks/manifest.js";
5
6
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
6
7
  const manifest = {
7
8
  id: "241afef1-74bd-4a10-843f-ac4928c25882",
8
- type: "wixEditorElements.SocialBar",
9
+ type: COMPONENT_TYPE,
9
10
  description: "Grow your online presence and drive social engagement across platforms with social links.",
10
11
  installation: {
11
12
  presets: {
@@ -221,12 +222,12 @@ const manifest = {
221
222
  }
222
223
  },
223
224
  resources: {
225
+ translations: getTranslationResources("LinkBar"),
224
226
  client: {
225
227
  componentUrl: "./site/components/LinkBar/component.tsx",
226
228
  moduleSpecifier: "@wix/editor-react-components/LinkBar",
227
- serviceDependencies: ["@wix/viewer-service-translations"],
228
229
  dependencies: {
229
- serviceDependencies: ["@wix/viewer-service-translations"]
230
+ serviceDependencies: ["@wix/site-service-translations"]
230
231
  }
231
232
  }
232
233
  },
@@ -3,9 +3,8 @@ import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
4
  import { T as TranslationsDefinition } from "../chunks/index4.js";
5
5
  import { d as directionStyles } from "../chunks/direction.module.js";
6
- import { g as getTranslation } from "../chunks/getTranslation.js";
7
6
  import { B as Button } from "../chunks/Button.js";
8
- import { r as rootDataDefaults, s as semanticSelectors, A as ARIA_LABEL_NAMESPACE, t as testIds, p as pauseIconSvg, a as playIconSvg, b as showButtonOnHoverDefaults, D as DefaultTranslations, T as TranslationKeys } from "../chunks/constants29.js";
7
+ import { r as rootDataDefaults, s as semanticSelectors, C as COMPONENT_TYPE, A as ARIA_LABEL_NAMESPACE, t as testIds, p as pauseIconSvg, a as playIconSvg, b as showButtonOnHoverDefaults, T as TranslationKeys, L as LegacyTranslationKeys, D as DefaultTranslations } from "../chunks/constants29.js";
9
8
  import React__default, { useEffect, useState, useRef, useMemo } from "react";
10
9
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
11
10
  import { c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
@@ -16945,8 +16944,12 @@ const isIOS = (win) => {
16945
16944
  const Lottie = (props) => {
16946
16945
  var _a;
16947
16946
  const { translate } = useService(TranslationsDefinition);
16948
- const translateByKey = translate(ARIA_LABEL_NAMESPACE);
16949
- const t = (key2) => getTranslation(translateByKey, key2, TranslationKeys, DefaultTranslations);
16947
+ const translateOwn = translate(COMPONENT_TYPE);
16948
+ const translateLegacy = translate(ARIA_LABEL_NAMESPACE);
16949
+ const t = (key2) => translateOwn(
16950
+ TranslationKeys[key2],
16951
+ translateLegacy(LegacyTranslationKeys[key2], DefaultTranslations[key2])
16952
+ );
16950
16953
  const {
16951
16954
  id,
16952
16955
  className,
@@ -1,3 +1,4 @@
1
+ export declare const COMPONENT_TYPE = "wixEditorElements.Lottie";
1
2
  export declare const implementationLibrary: "lottie-react";
2
3
  export declare const semanticSelectors: {
3
4
  readonly root: "lottie";
@@ -5,6 +6,10 @@ export declare const semanticSelectors: {
5
6
  };
6
7
  export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
7
8
  export declare const TranslationKeys: {
9
+ readonly playButton: "lottie.playButton.ariaLabel";
10
+ readonly pauseButton: "lottie.pauseButton.ariaLabel";
11
+ };
12
+ export declare const LegacyTranslationKeys: {
8
13
  readonly playButton: "lottie_aria_label_play";
9
14
  readonly pauseButton: "lottie_aria_label_pause";
10
15
  };
@@ -1,10 +1,11 @@
1
1
  import { b as DISPLAY_GROUPS, E as ELEMENTS, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
+ import { g as getTranslationResources } from "../chunks/translationResources.js";
2
3
  import { g as getSelector } from "../chunks/manifest.js";
3
- import { c as speedConstraints, d as playButtonDefaults, e as DisplayNames, r as rootDataDefaults, b as showButtonOnHoverDefaults, f as borderDefaultValue, i as initialSize, s as semanticSelectors } from "../chunks/constants29.js";
4
+ import { c as speedConstraints, d as playButtonDefaults, e as DisplayNames, r as rootDataDefaults, b as showButtonOnHoverDefaults, f as borderDefaultValue, i as initialSize, C as COMPONENT_TYPE, s as semanticSelectors } from "../chunks/constants29.js";
4
5
  import { m as manifestFocusable, b as manifestMouseHover, c as manifestClickable } from "../chunks/manifestSdkMixins.js";
5
6
  const manifest = {
6
7
  id: "13165477-8205-4050-b078-424a1479159e",
7
- type: "wixEditorElements.Lottie",
8
+ type: COMPONENT_TYPE,
8
9
  description: "A component that displays and plays Lottie animations (JSON-based vector animations) with configurable playback, looping, speed, and optional on-stage play/pause control.",
9
10
  installation: {
10
11
  initialSize: {
@@ -170,17 +171,14 @@ const manifest = {
170
171
  }
171
172
  },
172
173
  resources: {
174
+ translations: getTranslationResources("Lottie"),
173
175
  client: {
174
176
  componentUrl: "./site/components/Lottie/component.tsx",
175
177
  moduleSpecifier: "@wix/editor-react-components/Lottie",
176
- serviceDependencies: [
177
- "@wix/viewer-service-environment",
178
- "@wix/viewer-service-translations"
179
- ],
180
178
  dependencies: {
181
179
  serviceDependencies: [
182
180
  "@wix/viewer-service-environment",
183
- "@wix/viewer-service-translations"
181
+ "@wix/site-service-translations"
184
182
  ],
185
183
  componentDependencies: [
186
184
  "@wix/editor-react-components/Button",
@@ -193,7 +191,7 @@ const manifest = {
193
191
  dependencies: {
194
192
  serviceDependencies: [
195
193
  "@wix/viewer-service-environment",
196
- "@wix/viewer-service-translations"
194
+ "@wix/site-service-translations"
197
195
  ]
198
196
  }
199
197
  }
@@ -2,9 +2,8 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
4
  import { T as TranslationsDefinition } from "../chunks/index4.js";
5
- import { g as getTranslation } from "../chunks/getTranslation.js";
6
5
  import { d as directionStyles } from "../chunks/direction.module.js";
7
- import { D as DefaultTranslations, T as TranslationKeys, a as TRANSLATIONS_NAMESPACE, m as manifestClasses, d as defaultValues } from "../chunks/constants28.js";
6
+ import { C as COMPONENT_TYPE, T as TranslationKeys, a as TRANSLATIONS_NAMESPACE, L as LegacyTranslationKeys, D as DefaultTranslations, m as manifestClasses, d as defaultValues } from "../chunks/constants28.js";
8
7
  import "react";
9
8
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
10
9
  import { r as requireCjs } from "../chunks/index9.js";
@@ -12443,11 +12442,12 @@ const THEME_CLASSES = {
12443
12442
  const MarkdownBlock = (props) => {
12444
12443
  const { id, className, direction, content: content2, theme } = props;
12445
12444
  const { translate } = useService(TranslationsDefinition);
12446
- const scrollerAriaLabel = getTranslation(
12447
- translate(TRANSLATIONS_NAMESPACE),
12448
- "scrollerAriaLabel",
12449
- TranslationKeys,
12450
- DefaultTranslations
12445
+ const scrollerAriaLabel = translate(COMPONENT_TYPE)(
12446
+ TranslationKeys.scrollerAriaLabel,
12447
+ translate(TRANSLATIONS_NAMESPACE)(
12448
+ LegacyTranslationKeys.scrollerAriaLabel,
12449
+ DefaultTranslations.scrollerAriaLabel
12450
+ )
12451
12451
  );
12452
12452
  return /* @__PURE__ */ jsx(
12453
12453
  "div",
@@ -1,3 +1,4 @@
1
+ export declare const COMPONENT_TYPE = "wixEditorElements.MarkdownBlock";
1
2
  export declare const CONTENT_MAX_LENGTH = 100000;
2
3
  export declare const manifestClasses: {
3
4
  readonly root: "markdown-block";
@@ -7,6 +8,9 @@ export declare const defaultValues: {
7
8
  };
8
9
  export declare const TRANSLATIONS_NAMESPACE = "ariaLabels";
9
10
  export declare const TranslationKeys: {
11
+ readonly scrollerAriaLabel: "markdownBlock.content.ariaLabel";
12
+ };
13
+ export declare const LegacyTranslationKeys: {
10
14
  readonly scrollerAriaLabel: "markdownBlock_aria_label_content";
11
15
  };
12
16
  export declare const DefaultTranslations: {
@@ -1,9 +1,10 @@
1
1
  import { L as LAYOUT, D as DATA, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
2
  import { g as getSelector } from "../chunks/manifest.js";
3
- import { d as defaultValues, b as DisplayNames, C as CONTENT_MAX_LENGTH, m as manifestClasses } from "../chunks/constants28.js";
3
+ import { g as getTranslationResources } from "../chunks/translationResources.js";
4
+ import { d as defaultValues, b as DisplayNames, c as CONTENT_MAX_LENGTH, C as COMPONENT_TYPE, m as manifestClasses } from "../chunks/constants28.js";
4
5
  const manifest = {
5
6
  id: "09163c09-57cd-4241-bde6-b9e602fedbd8",
6
- type: "wixEditorElements.MarkdownBlock",
7
+ type: COMPONENT_TYPE,
7
8
  description: "Renders Markdown (CommonMark + GFM) as styled HTML, with a closed set of visual themes",
8
9
  editorElement: {
9
10
  selector: getSelector(manifestClasses.root),
@@ -90,9 +91,10 @@ const manifest = {
90
91
  componentUrl: "./site/components/MarkdownBlock/component.tsx",
91
92
  moduleSpecifier: "@wix/editor-react-components/MarkdownBlock",
92
93
  dependencies: {
93
- serviceDependencies: ["@wix/viewer-service-translations"]
94
+ serviceDependencies: ["@wix/site-service-translations"]
94
95
  }
95
- }
96
+ },
97
+ translations: getTranslationResources("MarkdownBlock")
96
98
  },
97
99
  moduleConfiguration: {
98
100
  package: { name: "@wix/editor-react-components", version: "^1.0.0" },
@@ -4,7 +4,7 @@ import { useService, useGetService } from "@wix/services-manager-react";
4
4
  import { U as UrlDefinition } from "../chunks/index12.js";
5
5
  import { d as defineService } from "../chunks/index10.js";
6
6
  import { T as TranslationsDefinition } from "../chunks/index4.js";
7
- import { M as MenuAnimationName, d as defaultTranslations, a as MenuOrientation, A as AnimationPhase, V as VerticalDropdownDisplay, D as DropdownAnimationName, H as HamburgerMenuAnimationName, b as MenuParts, s as selectors, c as DesignStates, u as useAnimationState, e as ARIA_LABEL_NAMESPACE, t as translationsKeys } from "../chunks/constants27.js";
7
+ import { M as MenuAnimationName, d as defaultTranslations, a as MenuOrientation, A as AnimationPhase, V as VerticalDropdownDisplay, D as DropdownAnimationName, H as HamburgerMenuAnimationName, b as MenuParts, s as selectors, c as DesignStates, u as useAnimationState, C as COMPONENT_TYPE, e as ARIA_LABEL_NAMESPACE, t as translationsKeys, l as legacyTranslationsKeys } from "../chunks/constants27.js";
8
8
  import React__default, { createContext, useContext, useRef, useCallback, useMemo, useState, useEffect, useLayoutEffect, forwardRef } from "react";
9
9
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
10
10
  import { g as getItemDepthSelector, r as rootItemDepthLevel, s as subItemDepthLevel, a as subSubItemDepthLevel } from "../chunks/utils3.js";
@@ -2488,26 +2488,18 @@ const Menu = (props) => {
2488
2488
  } catch {
2489
2489
  activeAnchor = void 0;
2490
2490
  }
2491
- const { translate } = useService(
2492
- TranslationsDefinition
2491
+ const { translate } = useService(TranslationsDefinition);
2492
+ const translateOwn = translate(COMPONENT_TYPE);
2493
+ const translateLegacy = translate(ARIA_LABEL_NAMESPACE);
2494
+ const t = (key) => translateOwn(
2495
+ translationsKeys[key],
2496
+ translateLegacy(legacyTranslationsKeys[key], defaultTranslations[key])
2493
2497
  );
2494
2498
  const translations = {
2495
- menuNavAriaLabel: translate(ARIA_LABEL_NAMESPACE)(
2496
- translationsKeys.menuNavAriaLabel,
2497
- defaultTranslations.menuNavAriaLabel
2498
- ),
2499
- dropdownButtonAriaLabel: translate(ARIA_LABEL_NAMESPACE)(
2500
- translationsKeys.dropdownButtonAriaLabel,
2501
- defaultTranslations.dropdownButtonAriaLabel
2502
- ),
2503
- hamburgerOpenButtonAriaLabel: translate(ARIA_LABEL_NAMESPACE)(
2504
- translationsKeys.hamburgerOpenButtonAriaLabel,
2505
- defaultTranslations.hamburgerOpenButtonAriaLabel
2506
- ),
2507
- hamburgerCloseButtonAriaLabel: translate(ARIA_LABEL_NAMESPACE)(
2508
- translationsKeys.hamburgerCloseButtonAriaLabel,
2509
- defaultTranslations.hamburgerCloseButtonAriaLabel
2510
- )
2499
+ menuNavAriaLabel: t("menuNavAriaLabel"),
2500
+ dropdownButtonAriaLabel: t("dropdownButtonAriaLabel"),
2501
+ hamburgerOpenButtonAriaLabel: t("hamburgerOpenButtonAriaLabel"),
2502
+ hamburgerCloseButtonAriaLabel: t("hamburgerCloseButtonAriaLabel")
2511
2503
  };
2512
2504
  const presetsWrapperProps = (wix == null ? void 0 : wix.presetsWrapperProps) || {};
2513
2505
  return /* @__PURE__ */ jsx("div", { className: presetWrapperStyles.presetWrapper, ...presetsWrapperProps, children: /* @__PURE__ */ jsx(
@@ -1,4 +1,5 @@
1
1
  import { ACTIONS } from '@wix/component-protocol/schema';
2
+ export declare const COMPONENT_TYPE = "wixEditorElements.Menu";
2
3
  export declare const MenuOrientation: {
3
4
  readonly Horizontal: "horizontal";
4
5
  readonly Vertical: "vertical";
@@ -329,10 +330,16 @@ export declare const DropdownAnchorPositions: {
329
330
  };
330
331
  export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
331
332
  export declare const translationsKeys: {
332
- menuNavAriaLabel: string;
333
- dropdownButtonAriaLabel: string;
334
- hamburgerOpenButtonAriaLabel: string;
335
- hamburgerCloseButtonAriaLabel: string;
333
+ readonly menuNavAriaLabel: "menu.navigation.ariaLabel";
334
+ readonly dropdownButtonAriaLabel: "menu.dropdownButton.ariaLabel";
335
+ readonly hamburgerOpenButtonAriaLabel: "menu.hamburgerOpenButton.ariaLabel";
336
+ readonly hamburgerCloseButtonAriaLabel: "menu.hamburgerCloseButton.ariaLabel";
337
+ };
338
+ export declare const legacyTranslationsKeys: {
339
+ readonly menuNavAriaLabel: "dropDownMenu_AriaLabel_TopLevel_SiteNavigation";
340
+ readonly dropdownButtonAriaLabel: "menu_dropdown_chevron_button_aria_label";
341
+ readonly hamburgerOpenButtonAriaLabel: "menu_hamburger_open_button_aria_label";
342
+ readonly hamburgerCloseButtonAriaLabel: "menu_hamburger_close_button_aria_label";
336
343
  };
337
344
  export type Translations = {
338
345
  translations: {
@@ -1,5 +1,6 @@
1
1
  import { E as ELEMENTS, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, N as NativeStateType, a as ACTIONS, D as DATA, L as LAYOUT, I as INTERACTIONS, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
- import { c as DesignStates, f as DisplayNames, s as selectors, g as DropdownAnchorPositions, h as DropdownAppliedStyleProperties, i as elementKeys, j as MENU_ANIMATED_ICON_SPEC, k as states, p as presets, m as menuBuiltInActions } from "../chunks/constants27.js";
2
+ import { g as getTranslationResources } from "../chunks/translationResources.js";
3
+ import { c as DesignStates, f as DisplayNames, s as selectors, g as DropdownAnchorPositions, h as DropdownAppliedStyleProperties, i as elementKeys, j as MENU_ANIMATED_ICON_SPEC, k as states, p as presets, m as menuBuiltInActions, C as COMPONENT_TYPE } from "../chunks/constants27.js";
3
4
  import { w as withSpec } from "../chunks/manifest.js";
4
5
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
5
6
  import { b as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
@@ -1218,7 +1219,7 @@ const hamburgerMenuConfig = {
1218
1219
  };
1219
1220
  const manifest = {
1220
1221
  id: "3f27c3f4-5a2b-4b2c-9b14-05d9c0c6d5ec",
1221
- type: "wixEditorElements.Menu",
1222
+ type: COMPONENT_TYPE,
1222
1223
  description: "Displays a navigational menu, allowing visitors to access different pages or sections of a site",
1223
1224
  installation: {
1224
1225
  presets: {
@@ -1478,16 +1479,10 @@ const manifest = {
1478
1479
  }
1479
1480
  },
1480
1481
  resources: {
1482
+ translations: getTranslationResources("Menu"),
1481
1483
  client: {
1482
1484
  componentUrl: "./site/components/Menu/component.tsx",
1483
1485
  moduleSpecifier: "@wix/editor-react-components/Menu",
1484
- serviceDependencies: [
1485
- "@wix/viewer-service-anchors",
1486
- "@wix/viewer-service-environment",
1487
- "@wix/viewer-service-site-scroll-blocker",
1488
- "@wix/viewer-service-translations",
1489
- "@wix/viewer-service-url"
1490
- ],
1491
1486
  dependencies: {
1492
1487
  componentDependencies: ["@wix/editor-react-components/AnimatedIcon"],
1493
1488
  serviceDependencies: [
@@ -1495,21 +1490,20 @@ const manifest = {
1495
1490
  "@wix/viewer-service-environment",
1496
1491
  "@wix/viewer-service-link-utils",
1497
1492
  "@wix/viewer-service-site-scroll-blocker",
1498
- "@wix/viewer-service-translations",
1493
+ "@wix/site-service-translations",
1499
1494
  "@wix/viewer-service-url"
1500
1495
  ]
1501
1496
  }
1502
1497
  },
1503
1498
  editor: {
1504
1499
  componentUrl: "./site/components/Menu/component.preview.tsx",
1505
- serviceDependencies: ["@wix/viewer-service-environment"],
1506
1500
  dependencies: {
1507
1501
  serviceDependencies: [
1508
1502
  "@wix/viewer-service-anchors",
1509
1503
  "@wix/viewer-service-environment",
1510
1504
  "@wix/viewer-service-link-utils",
1511
1505
  "@wix/viewer-service-site-scroll-blocker",
1512
- "@wix/viewer-service-translations",
1506
+ "@wix/site-service-translations",
1513
1507
  "@wix/viewer-service-url"
1514
1508
  ]
1515
1509
  }
@@ -1,3 +1,4 @@
1
+ export declare const COMPONENT_TYPE = "wixEditorElements.Repeater";
1
2
  export declare const semanticClassNames: {
2
3
  readonly root: "repeater";
3
4
  readonly itemsContainer: "repeater-items-container";
@@ -18,6 +19,9 @@ export declare const TestIds: {
18
19
  };
19
20
  export declare const EMPTY_STATE_NAMESPACE = "repeater";
20
21
  export declare const translationsKeys: {
22
+ readonly editorEmptyStateMessage: "repeater.emptyState.message";
23
+ };
24
+ export declare const legacyTranslationsKeys: {
21
25
  readonly editorEmptyStateMessage: "repeater_editor_empty_state_message";
22
26
  };
23
27
  export declare const defaultTranslations: {
@@ -1,10 +1,11 @@
1
1
  import { I as INTERACTIONS, L as LAYOUT, a as ACTIONS, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, E as ELEMENTS, D as DATA, c as ContainerType, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
+ import { g as getTranslationResources } from "../chunks/translationResources.js";
2
3
  import { g as getSelector } from "../chunks/manifest.js";
3
- import { p as presets, a as DisplayNames, D as DEFAULT_ITEMS_PER_ROW, B as BORDER_DEFAULT, F as FunctionalStateKeys, b as Descriptions, s as semanticClassNames } from "../chunks/constants23.js";
4
+ import { p as presets, a as DisplayNames, D as DEFAULT_ITEMS_PER_ROW, B as BORDER_DEFAULT, F as FunctionalStateKeys, b as Descriptions, c as COMPONENT_TYPE, s as semanticClassNames } from "../chunks/constants23.js";
4
5
  import { F as FunctionRole } from "../chunks/types.impl.js";
5
6
  const manifest = {
6
7
  id: "3f08612b-67ee-4b00-9340-9323e660aa60",
7
- type: "wixEditorElements.Repeater",
8
+ type: COMPONENT_TYPE,
8
9
  description: "A container component that renders a collection of items from a data source using a repeated template layout",
9
10
  installation: {
10
11
  presets: {
@@ -644,20 +645,17 @@ const manifest = {
644
645
  }
645
646
  },
646
647
  resources: {
648
+ translations: getTranslationResources("Repeater"),
647
649
  client: {
648
650
  componentUrl: "./site/components/Repeater/component.tsx",
649
651
  moduleSpecifier: "@wix/editor-react-components/Repeater"
650
652
  },
651
653
  editor: {
652
654
  componentUrl: "./site/components/Repeater/component.preview.tsx",
653
- serviceDependencies: [
654
- "@wix/viewer-service-environment",
655
- "@wix/viewer-service-translations"
656
- ],
657
655
  dependencies: {
658
656
  serviceDependencies: [
659
657
  "@wix/viewer-service-environment",
660
- "@wix/viewer-service-translations"
658
+ "@wix/site-service-translations"
661
659
  ]
662
660
  }
663
661
  }
@@ -6,7 +6,7 @@ import { U as UrlDefinition } from "../chunks/index12.js";
6
6
  import { useService } from "@wix/services-manager-react";
7
7
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
8
8
  import { d as directionStyles } from "../chunks/direction.module.js";
9
- import { v as valueToPlatformId, C as COPY_CONFIRMATION_TIMEOUT, p as platformIds, H as HAS_CUSTOM_FOCUS_CLASSNAME, T as TOOLTIP_SUCCESS_TEXT, a as TOOLTIP_FAILED_TEXT, l as linkCopiedFailedTranslationKey, b as linkCopiedTranslationKey, s as sharerData, t as translationKeys, P as PagesToShare, D as DefaultValues, n as noButtonsErrorMessage, d as dataHooks, c as defaultRootAriaLabel, e as TestIds, f as TranslationKeys, g as shareUrlPrefixes } from "../chunks/constants22.js";
9
+ import { v as valueToPlatformId, C as COPY_CONFIRMATION_TIMEOUT, p as platformIds, H as HAS_CUSTOM_FOCUS_CLASSNAME, T as TOOLTIP_SUCCESS_TEXT, a as TOOLTIP_FAILED_TEXT, s as sharerData, D as DefaultTranslations, L as LegacyTranslationKeys, b as COMPONENT_TYPE, c as TranslationKeys, P as PagesToShare, d as DefaultValues, n as noButtonsErrorMessage, e as dataHooks, f as TestIds, g as shareUrlPrefixes } from "../chunks/constants22.js";
10
10
  import { r as removeAriaPrefix } from "../chunks/a11y.js";
11
11
  import { p as parseSvg } from "../chunks/parseSvg.js";
12
12
  const BASE_MEDIA_URL = "https://static.wixstatic.com/shapes";
@@ -318,8 +318,9 @@ const ShareButton = ({
318
318
  );
319
319
  const buttonClassName = (_f = elementProps == null ? void 0 : elementProps.button) == null ? void 0 : _f.className;
320
320
  const platformIdWithFallback = getPlatformIdWithFallback(platformId, value);
321
- const translatedCopyLinkLabel = translations == null ? void 0 : translations[label2];
322
- const buttonLabel = platformIdWithFallback === platformIds.copyButton && translatedCopyLinkLabel ? translatedCopyLinkLabel : label2;
321
+ const isDefaultCopyLinkLabel = label2 === DefaultTranslations.copyLinkLabel || label2 === LegacyTranslationKeys.copyLinkLabel;
322
+ const translatedCopyLinkLabel = translations == null ? void 0 : translations.copyLinkLabel;
323
+ const buttonLabel = platformIdWithFallback === platformIds.copyButton && isDefaultCopyLinkLabel && translatedCopyLinkLabel !== void 0 ? translatedCopyLinkLabel : label2;
323
324
  return /* @__PURE__ */ jsx(Fragment, { children: platformId === platformIds.copyButton ? /* @__PURE__ */ jsx(
324
325
  CopyButtonWrapper,
325
326
  {
@@ -327,8 +328,8 @@ const ShareButton = ({
327
328
  url,
328
329
  ariaLabel: buttonLabel,
329
330
  tooltipTexts: {
330
- linkCopiedText: translations == null ? void 0 : translations[linkCopiedTranslationKey],
331
- linkCopiedFailedText: translations == null ? void 0 : translations[linkCopiedFailedTranslationKey]
331
+ linkCopiedText: translations == null ? void 0 : translations.linkCopied,
332
+ linkCopiedFailedText: translations == null ? void 0 : translations.linkCopyFailed
332
333
  },
333
334
  shareButtonIcon: /* @__PURE__ */ jsx(
334
335
  ShareButtonIcon,
@@ -383,16 +384,39 @@ const ShareButtons = (props) => {
383
384
  const { translate } = useService(TranslationsDefinition);
384
385
  const { getCurrentUrl, getExternalBaseUrl } = useService(UrlDefinition);
385
386
  const memoizedProps = useMemo(() => {
386
- const translations = translationKeys.reduce(
387
- (acc, key) => {
388
- acc[key] = translate("ShareButtons")(key);
389
- return acc;
390
- },
391
- {}
392
- );
393
- translations.ShareButtons_AriaLabel = translate("ariaLabels")(
394
- "ShareButtons_AriaLabel"
395
- );
387
+ const translateOwn = translate(COMPONENT_TYPE);
388
+ const translateLegacy = translate("ShareButtons");
389
+ const translateLegacyAriaLabels = translate("ariaLabels");
390
+ const translations = {
391
+ ariaLabel: translateOwn(
392
+ TranslationKeys.ariaLabel,
393
+ translateLegacyAriaLabels(
394
+ LegacyTranslationKeys.ariaLabel,
395
+ DefaultTranslations.ariaLabel
396
+ )
397
+ ),
398
+ copyLinkLabel: translateOwn(
399
+ TranslationKeys.copyLinkLabel,
400
+ translateLegacy(
401
+ LegacyTranslationKeys.copyLinkLabel,
402
+ DefaultTranslations.copyLinkLabel
403
+ )
404
+ ),
405
+ linkCopied: translateOwn(
406
+ TranslationKeys.linkCopied,
407
+ translateLegacy(
408
+ LegacyTranslationKeys.linkCopied,
409
+ DefaultTranslations.linkCopied
410
+ )
411
+ ),
412
+ linkCopyFailed: translateOwn(
413
+ TranslationKeys.linkCopyFailed,
414
+ translateLegacy(
415
+ LegacyTranslationKeys.linkCopyFailed,
416
+ DefaultTranslations.linkCopyFailed
417
+ )
418
+ )
419
+ };
396
420
  const buttonsFromProps = props.buttons || [];
397
421
  const buttons2 = mapButtonsForComponentView(
398
422
  buttonsFromProps.length ? buttonsFromProps : []
@@ -473,7 +497,7 @@ const ShareButtons = (props) => {
473
497
  id: `items_${id}`,
474
498
  className: shareButtonsStyles.container,
475
499
  "data-testid": TestIds.buttonsContainer,
476
- "aria-label": memoizedProps.translations[TranslationKeys.ariaLabel] || defaultRootAriaLabel,
500
+ "aria-label": memoizedProps.translations.ariaLabel,
477
501
  ...getAccessibilityAttributesSpread({ ariaAttributes: a11y }),
478
502
  role: "list",
479
503
  children: visibleButtons.map((button) => /* @__PURE__ */ jsx(