@bigbinary/neeto-themes-frontend 3.1.23 → 3.1.25

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 (43) hide show
  1. package/app/javascript/src/translations/ar.json +6 -1
  2. package/app/javascript/src/translations/bg.json +6 -1
  3. package/app/javascript/src/translations/ca.json +6 -1
  4. package/app/javascript/src/translations/cs.json +6 -1
  5. package/app/javascript/src/translations/da.json +6 -1
  6. package/app/javascript/src/translations/de.json +6 -1
  7. package/app/javascript/src/translations/en.json +7 -0
  8. package/app/javascript/src/translations/es-MX.json +6 -1
  9. package/app/javascript/src/translations/es.json +6 -1
  10. package/app/javascript/src/translations/et.json +6 -1
  11. package/app/javascript/src/translations/fi.json +6 -1
  12. package/app/javascript/src/translations/fil.json +6 -1
  13. package/app/javascript/src/translations/fr.json +6 -1
  14. package/app/javascript/src/translations/hi.json +6 -1
  15. package/app/javascript/src/translations/hr.json +6 -1
  16. package/app/javascript/src/translations/id.json +6 -1
  17. package/app/javascript/src/translations/it.json +6 -1
  18. package/app/javascript/src/translations/ja.json +6 -1
  19. package/app/javascript/src/translations/ko.json +6 -1
  20. package/app/javascript/src/translations/nl.json +6 -1
  21. package/app/javascript/src/translations/pl.json +6 -1
  22. package/app/javascript/src/translations/pt-BR.json +6 -1
  23. package/app/javascript/src/translations/pt.json +6 -1
  24. package/app/javascript/src/translations/ro.json +6 -1
  25. package/app/javascript/src/translations/ru.json +6 -1
  26. package/app/javascript/src/translations/sk.json +6 -1
  27. package/app/javascript/src/translations/sl.json +6 -1
  28. package/app/javascript/src/translations/sv.json +6 -1
  29. package/app/javascript/src/translations/th.json +6 -1
  30. package/app/javascript/src/translations/tr.json +6 -1
  31. package/app/javascript/src/translations/uk.json +6 -1
  32. package/app/javascript/src/translations/vi.json +6 -1
  33. package/app/javascript/src/translations/zh-CN.json +6 -1
  34. package/app/javascript/src/translations/zh-TW.json +6 -1
  35. package/dist/NeetoThemesBuilder.js +68 -1
  36. package/dist/NeetoThemesBuilder.js.map +1 -1
  37. package/dist/cjs/NeetoThemesBuilder.js +68 -1
  38. package/dist/cjs/NeetoThemesBuilder.js.map +1 -1
  39. package/dist/cjs/index.js +1 -0
  40. package/dist/cjs/index.js.map +1 -1
  41. package/dist/index.js +1 -0
  42. package/dist/index.js.map +1 -1
  43. package/package.json +12 -12
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS مخصص",
90
90
  "themeCloned": "تم استنساخ الثيم بنجاح.",
91
- "themeCloneFailed": "فشل استنساخ الثيم، يُرجى المحاولة بعد بعض الوقت."
91
+ "themeCloneFailed": "فشل استنساخ الثيم، يُرجى المحاولة بعد بعض الوقت.",
92
+ "logoPosition": {
93
+ "title": "موضع الشعار",
94
+ "belowLeft": "أسفل اليسار",
95
+ "overLeft": "أعلى اليسار"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Персонализиран CSS",
90
90
  "themeCloned": "Темата е клонирана успешно.",
91
- "themeCloneFailed": "Неуспешно клониране на темата, моля опитайте по-късно."
91
+ "themeCloneFailed": "Неуспешно клониране на темата, моля опитайте по-късно.",
92
+ "logoPosition": {
93
+ "title": "Позиция на логото",
94
+ "belowLeft": "Под ляво",
95
+ "overLeft": "Над ляво"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS personalitzat",
90
90
  "themeCloned": "El tema s'ha clonat correctament.",
91
- "themeCloneFailed": "No s'ha pogut clonar el tema, si us plau torna-ho a intentar més tard."
91
+ "themeCloneFailed": "No s'ha pogut clonar el tema, si us plau torna-ho a intentar més tard.",
92
+ "logoPosition": {
93
+ "title": "Posició del logo",
94
+ "belowLeft": "A sota a l'esquerra",
95
+ "overLeft": "Sobre l'esquerra"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Vlastní CSS",
90
90
  "themeCloned": "Téma bylo úspěšně zkopírováno.",
91
- "themeCloneFailed": "Nepodařilo se klonovat téma, zkuste to prosím za chvíli."
91
+ "themeCloneFailed": "Nepodařilo se klonovat téma, zkuste to prosím za chvíli.",
92
+ "logoPosition": {
93
+ "title": "Pozice loga",
94
+ "belowLeft": "Podleva vlevo",
95
+ "overLeft": "Nadleva"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Tilpasset CSS",
90
90
  "themeCloned": "Temaet er blevet klonet med succes.",
91
- "themeCloneFailed": "Det lykkedes ikke at klone temaet, prøv igen senere."
91
+ "themeCloneFailed": "Det lykkedes ikke at klone temaet, prøv igen senere.",
92
+ "logoPosition": {
93
+ "title": "Logo position",
94
+ "belowLeft": "Under venstre",
95
+ "overLeft": "Over venstre"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Benutzerdefiniertes CSS",
90
90
  "themeCloned": "Thema wurde erfolgreich geklont.",
91
- "themeCloneFailed": "Das Klonen des Themas ist fehlgeschlagen, bitte versuchen Sie es später erneut."
91
+ "themeCloneFailed": "Das Klonen des Themas ist fehlgeschlagen, bitte versuchen Sie es später erneut.",
92
+ "logoPosition": {
93
+ "title": "Logo-Position",
94
+ "belowLeft": "Unten links",
95
+ "overLeft": "Über links"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -87,6 +87,13 @@
87
87
  "newThemeName": "My theme"
88
88
  },
89
89
  "customCSS": "Custom CSS",
90
+ "logoPosition": {
91
+ "title": "Logo position",
92
+ "belowLeft": "Below left",
93
+ "belowLeftDescription": "Logo appears left-aligned below the cover image",
94
+ "overLeft": "Over left",
95
+ "overLeftDescription": "Logo overlays the left side of the cover image"
96
+ },
90
97
  "themeCloned": "Theme has been cloned successfully.",
91
98
  "themeCloneFailed": "Failed to clone theme, please try after some time."
92
99
  }
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS personalizado",
90
90
  "themeCloned": "El tema ha sido clonado con éxito.",
91
- "themeCloneFailed": "Falló al clonar el tema, por favor intenta después de algún tiempo."
91
+ "themeCloneFailed": "Falló al clonar el tema, por favor intenta después de algún tiempo.",
92
+ "logoPosition": {
93
+ "title": "Posición del logo",
94
+ "belowLeft": "Debajo a la izquierda",
95
+ "overLeft": "Sobre a la izquierda"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS personalizado",
90
90
  "themeCloned": "El tema ha sido clonado con éxito.",
91
- "themeCloneFailed": "Error al clonar el tema, por favor intenta después de un tiempo."
91
+ "themeCloneFailed": "Error al clonar el tema, por favor intenta después de un tiempo.",
92
+ "logoPosition": {
93
+ "title": "Posición del logotipo",
94
+ "belowLeft": "Debajo a la izquierda",
95
+ "overLeft": "Sobre la izquierda"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Kohandatud CSS",
90
90
  "themeCloned": "Teema on eduka kloonimise läbinud.",
91
- "themeCloneFailed": "Teema kloonimine ebaõnnestus, palun proovi hiljem uuesti."
91
+ "themeCloneFailed": "Teema kloonimine ebaõnnestus, palun proovi hiljem uuesti.",
92
+ "logoPosition": {
93
+ "title": "Logode asend",
94
+ "belowLeft": "All vasakul",
95
+ "overLeft": "Vasakul üle"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Mukautettu CSS",
90
90
  "themeCloned": "Teema on kloonattu onnistuneesti.",
91
- "themeCloneFailed": "Teeman kloonaus epäonnistui, yritä uudelleen myöhemmin."
91
+ "themeCloneFailed": "Teeman kloonaus epäonnistui, yritä uudelleen myöhemmin.",
92
+ "logoPosition": {
93
+ "title": "Logon sijainti",
94
+ "belowLeft": "Alla vasemmalla",
95
+ "overLeft": "Yllä vasemmalla"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Pasadyang CSS",
90
90
  "themeCloned": "Matagumpay na naklone ang tema.",
91
- "themeCloneFailed": "Nabigo ang pag-clone ng tema, mangyaring subukan muli matapos ang ilang sandali."
91
+ "themeCloneFailed": "Nabigo ang pag-clone ng tema, mangyaring subukan muli matapos ang ilang sandali.",
92
+ "logoPosition": {
93
+ "title": "Posisyon ng logo",
94
+ "belowLeft": "Sa ibaba sa kaliwa",
95
+ "overLeft": "Sa ibabaw sa kaliwa"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS personnalisé",
90
90
  "themeCloned": "Le thème a été cloné avec succès.",
91
- "themeCloneFailed": "Échec du clonage du thème, veuillez réessayer dans quelques instants."
91
+ "themeCloneFailed": "Échec du clonage du thème, veuillez réessayer dans quelques instants.",
92
+ "logoPosition": {
93
+ "title": "Position du logo",
94
+ "belowLeft": "En dessous à gauche",
95
+ "overLeft": "Au-dessus à gauche"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "कस्टम CSS",
90
90
  "themeCloned": "थीम सफलतापूर्वक कॉपी की गई है।",
91
- "themeCloneFailed": "थीम को कॉपी करने में विफल, कृपया कुछ समय बाद प्रयास करें।"
91
+ "themeCloneFailed": "थीम को कॉपी करने में विफल, कृपया कुछ समय बाद प्रयास करें।",
92
+ "logoPosition": {
93
+ "title": "लोगो स्थान",
94
+ "belowLeft": "बाईं ओर नीचे",
95
+ "overLeft": "बाईं ओर ऊपर"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Prilagođeni CSS",
90
90
  "themeCloned": "Tema je uspješno klonirana.",
91
- "themeCloneFailed": "Nije uspjelo klonirati temu, molimo pokušajte ponovno kasnije."
91
+ "themeCloneFailed": "Nije uspjelo klonirati temu, molimo pokušajte ponovno kasnije.",
92
+ "logoPosition": {
93
+ "title": "Pozicija logotipa",
94
+ "belowLeft": "Ispod lijevo",
95
+ "overLeft": "Iznad lijevo"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS Kustom",
90
90
  "themeCloned": "Tema telah berhasil diklon.",
91
- "themeCloneFailed": "Gagal mengkloning tema, silakan coba lagi setelah beberapa waktu."
91
+ "themeCloneFailed": "Gagal mengkloning tema, silakan coba lagi setelah beberapa waktu.",
92
+ "logoPosition": {
93
+ "title": "Posisi logo",
94
+ "belowLeft": "Di bawah kiri",
95
+ "overLeft": "Di atas kiri"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS personalizzato",
90
90
  "themeCloned": "Tema clonato con successo.",
91
- "themeCloneFailed": "Impossibile clonare il tema, riprova più tardi."
91
+ "themeCloneFailed": "Impossibile clonare il tema, riprova più tardi.",
92
+ "logoPosition": {
93
+ "title": "Posizione del logo",
94
+ "belowLeft": "Sotto a sinistra",
95
+ "overLeft": "Sopra a sinistra"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "カスタム CSS",
90
90
  "themeCloned": "テーマが正常にクローンされました。",
91
- "themeCloneFailed": "テーマのクローン作成に失敗しました。しばらくしてから再試行してください。"
91
+ "themeCloneFailed": "テーマのクローン作成に失敗しました。しばらくしてから再試行してください。",
92
+ "logoPosition": {
93
+ "title": "ロゴの位置",
94
+ "belowLeft": "左下",
95
+ "overLeft": "左上"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "사용자 정의 CSS",
90
90
  "themeCloned": "테마가 성공적으로 복제되었습니다.",
91
- "themeCloneFailed": "테마 복제에 실패했습니다. 잠시 후 다시 시도하십시오."
91
+ "themeCloneFailed": "테마 복제에 실패했습니다. 잠시 후 다시 시도하십시오.",
92
+ "logoPosition": {
93
+ "title": "로고 위치",
94
+ "belowLeft": "왼쪽 아래",
95
+ "overLeft": "왼쪽 위"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Aangepaste CSS",
90
90
  "themeCloned": "Thema is succesvol gekloond.",
91
- "themeCloneFailed": "Het is niet gelukt om het thema te klonen, probeer het later opnieuw."
91
+ "themeCloneFailed": "Het is niet gelukt om het thema te klonen, probeer het later opnieuw.",
92
+ "logoPosition": {
93
+ "title": "Logo positie",
94
+ "belowLeft": "Onder links",
95
+ "overLeft": "Boven links"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Niestandardowy CSS",
90
90
  "themeCloned": "Motyw został pomyślnie sklonowany.",
91
- "themeCloneFailed": "Nie udało się sklonować motywu, spróbuj ponownie później."
91
+ "themeCloneFailed": "Nie udało się sklonować motywu, spróbuj ponownie później.",
92
+ "logoPosition": {
93
+ "title": "Pozycja logo",
94
+ "belowLeft": "Pod lewym",
95
+ "overLeft": "Nad lewym"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS personalizado",
90
90
  "themeCloned": "Tema clonado com sucesso.",
91
- "themeCloneFailed": "Falha ao clonar o tema, por favor, tente novamente mais tarde."
91
+ "themeCloneFailed": "Falha ao clonar o tema, por favor, tente novamente mais tarde.",
92
+ "logoPosition": {
93
+ "title": "Posição do logo",
94
+ "belowLeft": "Abaixo à esquerda",
95
+ "overLeft": "Sobre à esquerda"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS personalizado",
90
90
  "themeCloned": "Tema clonado com sucesso.",
91
- "themeCloneFailed": "Falha ao clonar o tema, por favor, tente novamente mais tarde."
91
+ "themeCloneFailed": "Falha ao clonar o tema, por favor, tente novamente mais tarde.",
92
+ "logoPosition": {
93
+ "title": "Posição do logo",
94
+ "belowLeft": "Abaixo à esquerda",
95
+ "overLeft": "Acima à esquerda"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS personalizat",
90
90
  "themeCloned": "Tema a fost clonată cu succes.",
91
- "themeCloneFailed": "A fost imposibil să se cloneze tema, te rugăm să încerci din nou mai târziu."
91
+ "themeCloneFailed": "A fost imposibil să se cloneze tema, te rugăm să încerci din nou mai târziu.",
92
+ "logoPosition": {
93
+ "title": "Poziția logo-ului",
94
+ "belowLeft": "Sub stânga",
95
+ "overLeft": "Deasupra stânga"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Пользовательский CSS",
90
90
  "themeCloned": "Тема успешно клонирована.",
91
- "themeCloneFailed": "Не удалось клонировать тему, попробуйте позже."
91
+ "themeCloneFailed": "Не удалось клонировать тему, попробуйте позже.",
92
+ "logoPosition": {
93
+ "title": "Положение логотипа",
94
+ "belowLeft": "Снизу слева",
95
+ "overLeft": "Над слева"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Vlastné CSS",
90
90
  "themeCloned": "Téma bola úspešne skopírovaná.",
91
- "themeCloneFailed": "Nepodarilo sa skopírovať tému, skúste to znova o niekoľko minút."
91
+ "themeCloneFailed": "Nepodarilo sa skopírovať tému, skúste to znova o niekoľko minút.",
92
+ "logoPosition": {
93
+ "title": "Pozícia loga",
94
+ "belowLeft": "Podľa možnosti vľavo",
95
+ "overLeft": "Nad možnosťou vľavo"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Prilagojeni CSS",
90
90
  "themeCloned": "Tema je bila uspešno klonirana.",
91
- "themeCloneFailed": "Kloniranje teme ni uspelo, poskusite znova kasneje."
91
+ "themeCloneFailed": "Kloniranje teme ni uspelo, poskusite znova kasneje.",
92
+ "logoPosition": {
93
+ "title": "Položaj logotipa",
94
+ "belowLeft": "Spodaj levo",
95
+ "overLeft": "Nad levo"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Anpassad CSS",
90
90
  "themeCloned": "Temat har klonats framgångsrikt.",
91
- "themeCloneFailed": "Kloning av tema misslyckades, vänligen försök igen senare."
91
+ "themeCloneFailed": "Kloning av tema misslyckades, vänligen försök igen senare.",
92
+ "logoPosition": {
93
+ "title": "Logotypens position",
94
+ "belowLeft": "Nedanför vänster",
95
+ "overLeft": "Över vänster"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS ที่กำหนดเอง",
90
90
  "themeCloned": "ธีมถูกโคลนเรียบร้อยแล้ว",
91
- "themeCloneFailed": "ไม่สามารถโคลนธีมได้ กรุณาลองอีกครั้งภายหลัง"
91
+ "themeCloneFailed": "ไม่สามารถโคลนธีมได้ กรุณาลองอีกครั้งภายหลัง",
92
+ "logoPosition": {
93
+ "title": "ตำแหน่งโลโก้",
94
+ "belowLeft": "ด้านล่างซ้าย",
95
+ "overLeft": "เหนือซ้าย"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Özel CSS",
90
90
  "themeCloned": "Tema başarıyla kopyalandı.",
91
- "themeCloneFailed": "Tema kopyalama işlemi başarısız oldu, lütfen bir süre sonra tekrar deneyin."
91
+ "themeCloneFailed": "Tema kopyalama işlemi başarısız oldu, lütfen bir süre sonra tekrar deneyin.",
92
+ "logoPosition": {
93
+ "title": "Logo konumu",
94
+ "belowLeft": "Sol aşağıda",
95
+ "overLeft": "Sol üstte"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "Індивідуальний CSS",
90
90
  "themeCloned": "Тему успішно клоновано.",
91
- "themeCloneFailed": "Не вдалося клонувати тему, будь ласка, спробуйте пізніше."
91
+ "themeCloneFailed": "Не вдалося клонувати тему, будь ласка, спробуйте пізніше.",
92
+ "logoPosition": {
93
+ "title": "Позиція логотипу",
94
+ "belowLeft": "Знизу зліва",
95
+ "overLeft": "Зверху зліва"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "CSS tùy chỉnh",
90
90
  "themeCloned": "Chủ đề đã được nhân bản thành công.",
91
- "themeCloneFailed": "Nhân bản chủ đề thất bại, vui lòng thử lại sau."
91
+ "themeCloneFailed": "Nhân bản chủ đề thất bại, vui lòng thử lại sau.",
92
+ "logoPosition": {
93
+ "title": "Vị trí logo",
94
+ "belowLeft": "Bên dưới bên trái",
95
+ "overLeft": "Bên trên bên trái"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "自定义CSS",
90
90
  "themeCloned": "主题克隆成功。",
91
- "themeCloneFailed": "克隆主题失败,请稍后再试。"
91
+ "themeCloneFailed": "克隆主题失败,请稍后再试。",
92
+ "logoPosition": {
93
+ "title": "徽标位置",
94
+ "belowLeft": "左下方",
95
+ "overLeft": "左上方"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -88,7 +88,12 @@
88
88
  },
89
89
  "customCSS": "自訂CSS",
90
90
  "themeCloned": "主題已成功克隆。",
91
- "themeCloneFailed": "克隆主題失敗,請稍後再試。"
91
+ "themeCloneFailed": "克隆主題失敗,請稍後再試。",
92
+ "logoPosition": {
93
+ "title": "標誌位置",
94
+ "belowLeft": "左下方",
95
+ "overLeft": "左上方"
96
+ }
92
97
  }
93
98
  }
94
99
  },
@@ -30,6 +30,7 @@ import { useFormikContext, Field } from 'formik';
30
30
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
31
31
  import Right from '@bigbinary/neeto-icons/Right';
32
32
  import HelpPopover from '@bigbinary/neeto-molecules/HelpPopover';
33
+ import Radio from '@bigbinary/neetoui/formik/Radio';
33
34
  import { t as t$1 } from 'i18next';
34
35
  import CenterAlign from '@bigbinary/neeto-icons/CenterAlign';
35
36
  import LeftAlign from '@bigbinary/neeto-icons/LeftAlign';
@@ -415,6 +416,62 @@ var CustomCSS = function CustomCSS(_ref) {
415
416
  });
416
417
  };
417
418
 
419
+ var LogoPosition = function LogoPosition() {
420
+ var _useTranslation = useTranslation(),
421
+ t = _useTranslation.t;
422
+ var _useFormikContext = useFormikContext(),
423
+ values = _useFormikContext.values;
424
+ var index = findIndexBy({
425
+ key: "logo_position"
426
+ }, values.properties);
427
+ // Do not show this field if the logo_position property is not present.
428
+ if (index === -1) return null;
429
+ return /*#__PURE__*/jsxs(Radio, {
430
+ stacked: true,
431
+ name: "properties[".concat(index, "].value"),
432
+ label: /*#__PURE__*/jsx(Typography, {
433
+ className: "my-3",
434
+ component: "span",
435
+ style: "body2",
436
+ weight: "semibold",
437
+ children: t("neetoThemes.build.leftSideBar.themes.logoPosition.title")
438
+ }),
439
+ children: [/*#__PURE__*/jsx(Radio.Item, {
440
+ value: "over_left",
441
+ label: /*#__PURE__*/jsxs("span", {
442
+ className: "flex flex-col gap-1",
443
+ children: [/*#__PURE__*/jsx(Typography, {
444
+ component: "span",
445
+ style: "body2",
446
+ weight: "semibold",
447
+ children: t("neetoThemes.build.leftSideBar.themes.logoPosition.overLeft")
448
+ }), /*#__PURE__*/jsx(Typography, {
449
+ component: "span",
450
+ style: "body3",
451
+ weight: "normal",
452
+ children: t("neetoThemes.build.leftSideBar.themes.logoPosition.overLeftDescription")
453
+ })]
454
+ })
455
+ }), /*#__PURE__*/jsx(Radio.Item, {
456
+ value: "below_left",
457
+ label: /*#__PURE__*/jsxs("span", {
458
+ className: "flex flex-col gap-1",
459
+ children: [/*#__PURE__*/jsx(Typography, {
460
+ component: "span",
461
+ style: "body2",
462
+ weight: "semibold",
463
+ children: t("neetoThemes.build.leftSideBar.themes.logoPosition.belowLeft")
464
+ }), /*#__PURE__*/jsx(Typography, {
465
+ component: "span",
466
+ style: "body3",
467
+ weight: "normal",
468
+ children: t("neetoThemes.build.leftSideBar.themes.logoPosition.belowLeftDescription")
469
+ })]
470
+ })
471
+ })]
472
+ });
473
+ };
474
+
418
475
  function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
419
476
  function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
420
477
  var buildInitialValues = function buildInitialValues(theme, themePropertiesSchema) {
@@ -510,6 +567,15 @@ var buildInitialValues = function buildInitialValues(theme, themePropertiesSchem
510
567
  }, order !== null && {
511
568
  order: order
512
569
  });
570
+ case "logo_position":
571
+ return _objectSpread$3({
572
+ value: defaultValue,
573
+ kind: "logo_position",
574
+ key: key,
575
+ dependsOn: dependsOn
576
+ }, order !== null && {
577
+ order: order
578
+ });
513
579
  default:
514
580
  return null;
515
581
  }
@@ -1087,6 +1153,7 @@ var ImageBlock = function ImageBlock(_ref) {
1087
1153
  };
1088
1154
 
1089
1155
  var Images = function Images(_ref) {
1156
+ var _values$coverImage;
1090
1157
  var attribute = _ref.attribute,
1091
1158
  className = _ref.className,
1092
1159
  onPropertiesChange = _ref.onPropertiesChange,
@@ -1119,7 +1186,7 @@ var Images = function Images(_ref) {
1119
1186
  }), /*#__PURE__*/jsx(Properties, {
1120
1187
  onPropertiesChange: onPropertiesChange,
1121
1188
  condition: attribute
1122
- })]
1189
+ }), key === "logo" && ((_values$coverImage = values.coverImage) === null || _values$coverImage === void 0 ? void 0 : _values$coverImage.url) && /*#__PURE__*/jsx(LogoPosition, {})]
1123
1190
  });
1124
1191
  };
1125
1192