@edifice.io/react 2.5.3-develop-integration.20260109122831 → 2.5.3-develop-integration.20260109155948
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.
|
@@ -41,7 +41,8 @@ const Header = ({
|
|
|
41
41
|
} = useTranslation(), {
|
|
42
42
|
messages,
|
|
43
43
|
msgLink,
|
|
44
|
-
zimbraWorkflow
|
|
44
|
+
zimbraWorkflow,
|
|
45
|
+
carbonioPreauth
|
|
45
46
|
} = useConversation(), {
|
|
46
47
|
user,
|
|
47
48
|
avatar
|
|
@@ -93,6 +94,7 @@ const Header = ({
|
|
|
93
94
|
}, className: "position-absolute", children: messages }),
|
|
94
95
|
/* @__PURE__ */ jsx(VisuallyHidden, { children: t("navbar.messages") })
|
|
95
96
|
] }) }),
|
|
97
|
+
carbonioPreauth && /* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsx(NavLink, { className: "position-relative", link: "/auth/carbonio/preauth", translate: t("conversation"), children: /* @__PURE__ */ jsx(SvgIconNeoMessaging, { color: "#fff" }) }) }),
|
|
96
98
|
/* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsx(NavLink, { link: "/userbook/mon-compte", className: "dropdown-item", translate: t("navbar.myaccount"), children: /* @__PURE__ */ jsx(SvgIconOneProfile, { className: "icon user" }) }) }),
|
|
97
99
|
currentLanguage === "fr" && hasOldHelpEnableWorkflow ? /* @__PURE__ */ jsxs(NavItem, { children: [
|
|
98
100
|
/* @__PURE__ */ jsxs("button", { className: "nav-link", onClick: () => {
|
|
@@ -153,6 +155,7 @@ const Header = ({
|
|
|
153
155
|
level: "warning"
|
|
154
156
|
}, className: "position-absolute", children: messages })
|
|
155
157
|
] }) }),
|
|
158
|
+
carbonioPreauth && /* @__PURE__ */ jsx(NavItem, { children: /* @__PURE__ */ jsx(NavLink, { className: "position-relative", link: "/auth/carbonio/preauth", translate: t("conversation"), children: /* @__PURE__ */ jsx(SvgIconNeoMessaging, { color: "#fff" }) }) }),
|
|
156
159
|
currentLanguage === "fr" && hasOldHelpEnableWorkflow ? /* @__PURE__ */ jsxs(NavItem, { children: [
|
|
157
160
|
/* @__PURE__ */ jsxs("button", { className: "nav-link btn btn-naked", onClick: () => {
|
|
158
161
|
setIsHelpOpen(!0);
|
|
@@ -2,5 +2,6 @@ declare const useConversation: () => {
|
|
|
2
2
|
readonly messages: any;
|
|
3
3
|
readonly msgLink: string;
|
|
4
4
|
readonly zimbraWorkflow: boolean | Record<string, boolean> | undefined;
|
|
5
|
+
readonly carbonioPreauth: boolean | Record<string, boolean> | undefined;
|
|
5
6
|
};
|
|
6
7
|
export default useConversation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.5.3-develop-integration.
|
|
3
|
+
"version": "2.5.3-develop-integration.20260109155948",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -133,9 +133,9 @@
|
|
|
133
133
|
"react-slugify": "^3.0.3",
|
|
134
134
|
"swiper": "^10.1.0",
|
|
135
135
|
"ua-parser-js": "^1.0.36",
|
|
136
|
-
"@edifice.io/bootstrap": "2.5.3-develop-integration.
|
|
137
|
-
"@edifice.io/tiptap-extensions": "2.5.3-develop-integration.
|
|
138
|
-
"@edifice.io/utilities": "2.5.3-develop-integration.
|
|
136
|
+
"@edifice.io/bootstrap": "2.5.3-develop-integration.20260109155948",
|
|
137
|
+
"@edifice.io/tiptap-extensions": "2.5.3-develop-integration.20260109155948",
|
|
138
|
+
"@edifice.io/utilities": "2.5.3-develop-integration.20260109155948"
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
141
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
"vite": "^5.4.11",
|
|
167
167
|
"vite-plugin-dts": "^4.1.0",
|
|
168
168
|
"vite-tsconfig-paths": "^5.0.1",
|
|
169
|
-
"@edifice.io/config": "2.5.3-develop-integration.
|
|
170
|
-
"@edifice.io/client": "2.5.3-develop-integration.
|
|
169
|
+
"@edifice.io/config": "2.5.3-develop-integration.20260109155948",
|
|
170
|
+
"@edifice.io/client": "2.5.3-develop-integration.20260109155948"
|
|
171
171
|
},
|
|
172
172
|
"peerDependencies": {
|
|
173
173
|
"@react-spring/web": "^9.7.5",
|