ublo-lib 1.39.10 → 1.39.12

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.
@@ -96,6 +96,7 @@
96
96
 
97
97
  .wrapper {
98
98
  display: flex;
99
+ align-items: center;
99
100
  gap: 10px;
100
101
  }
101
102
 
@@ -128,7 +129,7 @@
128
129
 
129
130
  .contentLabel {
130
131
  max-width: calc(100% - 80px);
131
- padding: 6px;
132
+ padding: 8px 6px;
132
133
  color: var(--ds-grey-000, #fff);
133
134
  line-height: 1;
134
135
  font-size: 14px;
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/esf/components/espace-prive/message.js"],"names":[],"mappings":"AAsFO,iDAIN;AAEM;;QAGN"}
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/esf/components/espace-prive/message.js"],"names":[],"mappings":"AAqFO,iDAIN;AAEM;;QAGN"}
@@ -32,7 +32,7 @@ const messages = {
32
32
  "mail-template-label": "Contenu de l'e-mail",
33
33
  "mail-template-placeholder": "Bonjour,\n\nVous trouverez en bas de ce mail un lien vous permettant d'accéder à l'espace partenaire\n\nCordialement,\nL'équipe",
34
34
  "mail-pattern-error": "Un ou plusieurs e-mail ne respectent pas le bon format",
35
- "intermediary-error": "Une erreur est survenue lors de la récupération du code intermédiaire, veuillez contacter l'école.",
35
+ "intermediary-error": "Erreur de paramétrage : code intermédiaire manquant.",
36
36
  "link-deleted": "Le lien a bien été supprimé",
37
37
  "link-deleted-error": "Une erreur est survenue lors de la suppression du lien",
38
38
  },
@@ -68,7 +68,7 @@ const messages = {
68
68
  "mail-template-label": "Email content",
69
69
  "mail-template-placeholder": "Hello,\n\nYou will find at the bottom of this email a link allowing you to access the partner space\n\nBest regards,\nThe team",
70
70
  "mail-pattern-error": "One or more emails do not respect the correct format",
71
- "intermediary-error": "An error occurred while retrieving the intermediary code, please contact the school.",
71
+ "intermediary-error": "Configuration error: missing intermediary code.",
72
72
  "link-deleted": "The link has been successfully deleted",
73
73
  "link-deleted-error": "An error occurred while deleting the link",
74
74
  },
@@ -1 +1 @@
1
- {"version":3,"file":"partenaire.d.ts","sourceRoot":"","sources":["../../../../src/esf/components/espace-prive/partenaire.js"],"names":[],"mappings":";AAYA;;;4CAwCC"}
1
+ {"version":3,"file":"partenaire.d.ts","sourceRoot":"","sources":["../../../../src/esf/components/espace-prive/partenaire.js"],"names":[],"mappings":";AAYA;;;4CAuCC"}
@@ -18,6 +18,6 @@ const Partenaire = ({ logo, tools }) => {
18
18
  const isCart = pathIncludesKey(menu, "panier");
19
19
  if (isConnexion)
20
20
  return _jsx(Connexion, { logo: logo });
21
- return (_jsxs("div", { className: styles.partenaire, children: [_jsxs("header", { className: styles.header, children: [_jsx("div", { className: styles.logo, children: logo }), _jsx(Zone, { id: "hero", className: styles.heroZone, maxSections: 1, tooltip: "Zone d'\u00E9dition : Banni\u00E8re", fixed: true })] }), _jsxs("main", { className: styles.main, children: [_jsx("nav", { className: styles.nav, children: _jsx(CartLink, {}) }), _jsx(Zone, { id: "introduction", className: styles.introductionZone, maxSections: 1, tooltip: "Zone d'\u00E9dition : Texte de pr\u00E9sentation" }), isTunnel && _jsx(Tunnel, {}), isCart && _jsx(Panier, {})] }), _jsx("footer", { className: styles.footer, children: _jsx(Tools, { tools: tools }) }), _jsx(Login, {})] }));
21
+ return (_jsxs("div", { className: styles.partenaire, children: [_jsxs("header", { className: styles.header, children: [_jsx("div", { className: styles.logo, children: logo }), _jsx(Zone, { id: "hero", className: styles.heroZone, maxSections: 1, tooltip: "Zone d'\u00E9dition : Banni\u00E8re", fixed: true })] }), _jsxs("main", { className: styles.main, children: [_jsx("nav", { className: styles.nav, children: _jsx(CartLink, {}) }), _jsx(Zone, { id: "introduction", className: styles.introductionZone, tooltip: "Zone d'\u00E9dition : Texte de pr\u00E9sentation" }), isTunnel && _jsx(Tunnel, {}), isCart && _jsx(Panier, {})] }), _jsx("footer", { className: styles.footer, children: _jsx(Tools, { tools: tools }) }), _jsx(Login, {})] }));
22
22
  };
23
23
  export default Partenaire;
@@ -64,7 +64,7 @@
64
64
  align-items: center;
65
65
  padding: 8px 0 8px 15px;
66
66
  font-size: var(--p);
67
- transition: color 160ms var(--transition-easing);
67
+ color: var(--ds-grey-700, #262626);
68
68
  }
69
69
 
70
70
  @media (min-width: 800px) {
@@ -10,9 +10,9 @@ export default function Tunnel() {
10
10
  const { lang, config, cmsMode } = useUbloContext();
11
11
  const { resort } = config;
12
12
  const { intermediary, error, partnerID } = useContext();
13
- const renderLoader = !intermediary && !error;
14
- const renderError = error && !intermediary;
15
- return (_jsxs("div", { children: [renderLoader && _jsx(Loader, {}), renderError && (_jsx("div", { style: { textAlign: "center", color: "var(--ds-red-300, #f26464)" }, children: _jsx(Message, { id: "intermediary-error" }) })), !renderLoader && !renderError && (_jsx(MseM.Esf, { options: {
13
+ const showLoader = !intermediary && !error;
14
+ const showError = error && !intermediary && !cmsMode;
15
+ return (_jsxs("div", { children: [showLoader && _jsx(Loader, {}), showError && (_jsx("div", { style: { textAlign: "center", color: "var(--ds-red-300, #f26464)" }, children: _jsx(Message, { id: "intermediary-error" }) })), !showLoader && !showError && (_jsx(MseM.Esf, { options: {
16
16
  lang,
17
17
  channel: "ESF",
18
18
  resort,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.39.10",
3
+ "version": "1.39.12",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.10.8",
6
6
  "leaflet": "^1.9.1",