@wix/editor-react-components 1.2805.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.
- package/dist/site/components/AccordionComponent/component.js +1 -1
- package/dist/site/components/AccordionComponent/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/component.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +1 -1
- package/dist/site/components/BoxContainer/component.js +1 -2
- package/dist/site/components/BoxContainer/constants.d.ts +10 -2
- package/dist/site/components/BoxContainer/manifest.js +5 -4
- package/dist/site/components/Breadcrumbs/component.js +7 -6
- package/dist/site/components/Breadcrumbs/constants.d.ts +3 -0
- package/dist/site/components/Breadcrumbs/manifest.js +5 -2
- package/dist/site/components/DatePicker/component.js +4 -6
- package/dist/site/components/DatePicker/constants.d.ts +7 -3
- package/dist/site/components/DatePicker/manifest.js +6 -4
- package/dist/site/components/Dropdown/component.js +8 -2
- package/dist/site/components/Dropdown/constants.d.ts +3 -1
- package/dist/site/components/Dropdown/manifest.js +5 -3
- package/dist/site/components/GoogleMap/component.js +15 -24
- package/dist/site/components/GoogleMap/consts.d.ts +12 -0
- package/dist/site/components/GoogleMap/manifest.js +5 -8
- package/dist/site/components/HTMLComponent/component.js +11 -12
- package/dist/site/components/HTMLComponent/constants.d.ts +5 -1
- package/dist/site/components/HTMLComponent/manifest.js +6 -15
- package/dist/site/components/HipaaIcon/component.js +7 -9
- package/dist/site/components/HipaaIcon/constants.d.ts +7 -0
- package/dist/site/components/HipaaIcon/manifest.js +6 -4
- package/dist/site/components/LinkBar/component.js +9 -5
- package/dist/site/components/LinkBar/constants.d.ts +10 -2
- package/dist/site/components/LinkBar/manifest.js +5 -4
- package/dist/site/components/Lottie/component.js +7 -4
- package/dist/site/components/Lottie/constants.d.ts +5 -0
- package/dist/site/components/Lottie/manifest.js +6 -8
- package/dist/site/components/MarkdownBlock/component.js +7 -7
- package/dist/site/components/MarkdownBlock/constants.d.ts +4 -0
- package/dist/site/components/MarkdownBlock/manifest.js +6 -4
- package/dist/site/components/Menu/component.js +11 -19
- package/dist/site/components/Menu/constants.d.ts +11 -4
- package/dist/site/components/Menu/manifest.js +6 -12
- package/dist/site/components/Repeater/constants.d.ts +4 -0
- package/dist/site/components/Repeater/manifest.js +5 -7
- package/dist/site/components/ShareButtons/component.js +40 -16
- package/dist/site/components/ShareButtons/constants.d.ts +17 -5
- package/dist/site/components/ShareButtons/manifest.js +6 -8
- package/dist/site/components/Slideshow/component.js +7 -4
- package/dist/site/components/Slideshow/constants.d.ts +5 -0
- package/dist/site/components/Slideshow/manifest.js +6 -4
- package/dist/site/components/TextMarquee/component.js +13 -14
- package/dist/site/components/TextMarquee/components/constants.d.ts +4 -0
- package/dist/site/components/TextMarquee/consts.d.ts +1 -0
- package/dist/site/components/TextMarquee/manifest.js +6 -27
- package/dist/site/components/TimePicker/component.js +8 -2
- package/dist/site/components/TimePicker/constants.d.ts +3 -1
- package/dist/site/components/TimePicker/manifest.js +6 -4
- package/dist/site/components/VideoScrub/component.js +8 -11
- package/dist/site/components/VideoScrub/constants.d.ts +3 -1
- package/dist/site/components/VideoScrub/manifest.js +6 -4
- package/dist/site/components/chunks/Slideshow.semanticClassNames.js +7 -0
- package/dist/site/components/chunks/constants2.js +7 -1
- package/dist/site/components/chunks/constants22.js +26 -19
- package/dist/site/components/chunks/constants23.js +2 -0
- package/dist/site/components/chunks/constants27.js +9 -0
- package/dist/site/components/chunks/constants28.js +7 -1
- package/dist/site/components/chunks/constants29.js +7 -0
- package/dist/site/components/chunks/constants31.js +16 -6
- package/dist/site/components/chunks/constants33.js +11 -2
- package/dist/site/components/chunks/constants35.js +21 -16
- package/dist/site/components/chunks/constants36.js +7 -1
- package/dist/site/components/chunks/constants37.js +12 -2
- package/dist/site/components/chunks/constants41.js +6 -2
- package/dist/site/components/chunks/constants42.js +13 -85
- package/dist/site/components/chunks/constants43.js +75 -56
- package/dist/site/components/chunks/constants44.js +72 -0
- package/dist/site/components/chunks/consts.js +19 -114
- package/dist/site/components/chunks/consts2.js +138 -0
- package/dist/site/components/chunks/index4.js +1 -1
- package/dist/site/components/chunks/translationResources.js +46 -0
- package/dist/site/components/chunks/types.js +7 -3
- package/dist/site/components/chunks/useConsentPolicyProps.js +17 -182
- package/dist/site/components/chunks/utils4.js +243 -0
- package/dist/site/components/translations/BoxContainer/messages_ar.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_bg.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ca.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_cs.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_da.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_de.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_el.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_en.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_es.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_fi.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_fr.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_he.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_hi.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_hr.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_hu.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_id.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_it.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ja.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ko.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_lt.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_lv.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ms.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_nl.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_no.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_pl.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_pt.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ro.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ru.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_sv.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_th.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_tl.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_tr.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_uk.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_vi.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_zh.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ar.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_bg.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ca.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_cs.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_da.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_de.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_el.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_en.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_es.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_fi.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_fr.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_he.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_hi.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_hr.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_hu.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_id.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_it.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ja.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ko.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_lt.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_lv.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ms.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_nl.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_no.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_pl.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_pt.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ro.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ru.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_sv.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_th.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_tl.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_tr.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_uk.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_vi.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_zh.json +3 -0
- package/dist/site/components/translations/GoogleMap/messages_ar.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_bg.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ca.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_cs.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_da.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_de.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_el.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_en.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_es.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_fi.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_fr.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_he.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_hi.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_hr.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_hu.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_id.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_it.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ja.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ko.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_lt.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_lv.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ms.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_nl.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_no.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_pl.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_pt.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ro.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ru.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_sv.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_th.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_tl.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_tr.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_uk.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_vi.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_zh.json +22 -0
- package/dist/site/components/translations/HTMLComponent/messages_ar.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_bg.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ca.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_cs.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_da.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_de.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_el.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_en.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_es.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_fi.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_fr.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_he.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_hi.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_hr.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_hu.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_id.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_it.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ja.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ko.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_lt.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_lv.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ms.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_nl.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_no.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_pl.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_pt.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ro.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ru.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_sv.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_th.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_tl.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_tr.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_uk.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_vi.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_zh.json +19 -0
- package/dist/site/components/translations/HipaaIcon/messages_ar.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_bg.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ca.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_cs.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_da.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_de.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_el.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_en.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_es.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_fi.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_fr.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_he.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_hi.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_hr.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_hu.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_id.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_it.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ja.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ko.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_lt.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_lv.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ms.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_nl.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_no.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_pl.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_pt.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ro.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ru.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_sv.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_th.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_tl.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_tr.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_uk.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_vi.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_zh.json +4 -0
- package/dist/site/components/translations/LinkBar/messages_ar.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_bg.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ca.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_cs.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_da.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_de.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_el.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_en.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_es.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_fi.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_fr.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_he.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_hi.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_hr.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_hu.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_id.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_it.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ja.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ko.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_lt.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_lv.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ms.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_nl.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_no.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_pl.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_pt.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ro.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ru.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_sv.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_th.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_tl.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_tr.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_uk.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_vi.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_zh.json +3 -0
- package/dist/site/components/translations/Lottie/messages_ar.json +4 -0
- package/dist/site/components/translations/Lottie/messages_bg.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ca.json +4 -0
- package/dist/site/components/translations/Lottie/messages_cs.json +4 -0
- package/dist/site/components/translations/Lottie/messages_da.json +4 -0
- package/dist/site/components/translations/Lottie/messages_de.json +4 -0
- package/dist/site/components/translations/Lottie/messages_el.json +4 -0
- package/dist/site/components/translations/Lottie/messages_en.json +4 -0
- package/dist/site/components/translations/Lottie/messages_es.json +4 -0
- package/dist/site/components/translations/Lottie/messages_fi.json +4 -0
- package/dist/site/components/translations/Lottie/messages_fr.json +4 -0
- package/dist/site/components/translations/Lottie/messages_he.json +4 -0
- package/dist/site/components/translations/Lottie/messages_hi.json +4 -0
- package/dist/site/components/translations/Lottie/messages_hr.json +4 -0
- package/dist/site/components/translations/Lottie/messages_hu.json +4 -0
- package/dist/site/components/translations/Lottie/messages_id.json +4 -0
- package/dist/site/components/translations/Lottie/messages_it.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ja.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ko.json +4 -0
- package/dist/site/components/translations/Lottie/messages_lt.json +4 -0
- package/dist/site/components/translations/Lottie/messages_lv.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ms.json +4 -0
- package/dist/site/components/translations/Lottie/messages_nl.json +4 -0
- package/dist/site/components/translations/Lottie/messages_no.json +4 -0
- package/dist/site/components/translations/Lottie/messages_pl.json +4 -0
- package/dist/site/components/translations/Lottie/messages_pt.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ro.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ru.json +4 -0
- package/dist/site/components/translations/Lottie/messages_sv.json +4 -0
- package/dist/site/components/translations/Lottie/messages_th.json +4 -0
- package/dist/site/components/translations/Lottie/messages_tl.json +4 -0
- package/dist/site/components/translations/Lottie/messages_tr.json +4 -0
- package/dist/site/components/translations/Lottie/messages_uk.json +4 -0
- package/dist/site/components/translations/Lottie/messages_vi.json +4 -0
- package/dist/site/components/translations/Lottie/messages_zh.json +4 -0
- package/dist/site/components/translations/Menu/messages_ar.json +6 -0
- package/dist/site/components/translations/Menu/messages_bg.json +6 -0
- package/dist/site/components/translations/Menu/messages_ca.json +6 -0
- package/dist/site/components/translations/Menu/messages_cs.json +6 -0
- package/dist/site/components/translations/Menu/messages_da.json +6 -0
- package/dist/site/components/translations/Menu/messages_de.json +6 -0
- package/dist/site/components/translations/Menu/messages_el.json +6 -0
- package/dist/site/components/translations/Menu/messages_en.json +6 -0
- package/dist/site/components/translations/Menu/messages_es.json +6 -0
- package/dist/site/components/translations/Menu/messages_fi.json +6 -0
- package/dist/site/components/translations/Menu/messages_fr.json +6 -0
- package/dist/site/components/translations/Menu/messages_he.json +6 -0
- package/dist/site/components/translations/Menu/messages_hi.json +6 -0
- package/dist/site/components/translations/Menu/messages_hr.json +6 -0
- package/dist/site/components/translations/Menu/messages_hu.json +6 -0
- package/dist/site/components/translations/Menu/messages_id.json +6 -0
- package/dist/site/components/translations/Menu/messages_it.json +6 -0
- package/dist/site/components/translations/Menu/messages_ja.json +6 -0
- package/dist/site/components/translations/Menu/messages_ko.json +6 -0
- package/dist/site/components/translations/Menu/messages_lt.json +6 -0
- package/dist/site/components/translations/Menu/messages_lv.json +6 -0
- package/dist/site/components/translations/Menu/messages_ms.json +6 -0
- package/dist/site/components/translations/Menu/messages_nl.json +6 -0
- package/dist/site/components/translations/Menu/messages_no.json +6 -0
- package/dist/site/components/translations/Menu/messages_pl.json +6 -0
- package/dist/site/components/translations/Menu/messages_pt.json +6 -0
- package/dist/site/components/translations/Menu/messages_ro.json +6 -0
- package/dist/site/components/translations/Menu/messages_ru.json +6 -0
- package/dist/site/components/translations/Menu/messages_sv.json +6 -0
- package/dist/site/components/translations/Menu/messages_th.json +6 -0
- package/dist/site/components/translations/Menu/messages_tl.json +6 -0
- package/dist/site/components/translations/Menu/messages_tr.json +6 -0
- package/dist/site/components/translations/Menu/messages_uk.json +6 -0
- package/dist/site/components/translations/Menu/messages_vi.json +6 -0
- package/dist/site/components/translations/Menu/messages_zh.json +6 -0
- package/dist/site/components/translations/ShareButtons/messages_ar.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_bg.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ca.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_cs.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_da.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_de.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_el.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_en.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_es.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_fi.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_fr.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_he.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_hi.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_hr.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_hu.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_id.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_it.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ja.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ko.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_lt.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_lv.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ms.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_nl.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_no.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_pl.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_pt.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ro.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ru.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_sv.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_th.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_tl.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_tr.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_uk.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_vi.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_zh.json +5 -0
- package/dist/site/components/translations/Slideshow/messages_ar.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_bg.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ca.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_cs.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_da.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_de.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_el.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_en.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_es.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_fi.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_fr.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_he.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_hi.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_hr.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_hu.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_id.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_it.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ja.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ko.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_lt.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_lv.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ms.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_nl.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_no.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_pl.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_pt.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ro.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ru.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_sv.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_th.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_tl.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_tr.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_uk.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_vi.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_zh.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ar.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_bg.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ca.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_cs.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_da.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_de.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_el.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_en.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_es.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_fi.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_fr.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_he.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_hi.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_hr.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_hu.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_id.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_it.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ja.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ko.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_lt.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_lv.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ms.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_nl.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_no.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_pl.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_pt.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ro.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ru.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_sv.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_th.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_tl.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_tr.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_uk.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_vi.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_zh.json +4 -0
- package/dist/site/components/translations/version_file +1 -0
- package/package.json +6 -4
- package/dist/site/components/HipaaIcon/utils.d.ts +0 -2
- 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,
|
|
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
|
|
131
|
-
const
|
|
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 {
|
|
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:
|
|
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/
|
|
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/
|
|
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,
|
|
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(
|
|
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
|
|
49
|
-
|
|
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 {
|
|
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:
|
|
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/
|
|
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,
|
|
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
|
|
16949
|
-
const
|
|
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:
|
|
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/
|
|
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/
|
|
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 {
|
|
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 =
|
|
12447
|
-
|
|
12448
|
-
|
|
12449
|
-
|
|
12450
|
-
|
|
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 {
|
|
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:
|
|
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/
|
|
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
|
-
|
|
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:
|
|
2496
|
-
|
|
2497
|
-
|
|
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:
|
|
333
|
-
dropdownButtonAriaLabel:
|
|
334
|
-
hamburgerOpenButtonAriaLabel:
|
|
335
|
-
hamburgerCloseButtonAriaLabel:
|
|
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 {
|
|
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:
|
|
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/
|
|
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/
|
|
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:
|
|
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/
|
|
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,
|
|
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
|
|
322
|
-
const
|
|
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
|
|
331
|
-
linkCopiedFailedText: translations == null ? void 0 : translations
|
|
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
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
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
|
|
500
|
+
"aria-label": memoizedProps.translations.ariaLabel,
|
|
477
501
|
...getAccessibilityAttributesSpread({ ariaAttributes: a11y }),
|
|
478
502
|
role: "list",
|
|
479
503
|
children: visibleButtons.map((button) => /* @__PURE__ */ jsx(
|