@apolitical/component-library 8.3.18-beta.0 → 8.3.18-re.3
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/context/user/user.context.d.ts +0 -3
- package/helpers/intl.d.ts +1 -0
- package/index.js +149 -149
- package/index.mjs +18154 -30055
- package/layout/page-layout/components/header/header.d.ts +1 -2
- package/layout/page-layout/page-layout.d.ts +1 -2
- package/navigation/action-bar/action-bar.d.ts +9 -0
- package/package.json +1 -2
- package/style.css +1 -1
|
@@ -8,7 +8,6 @@ interface Props {
|
|
|
8
8
|
/** Function to handle the language switcher click */
|
|
9
9
|
onLanguageSwitcherClick?: () => void;
|
|
10
10
|
suprSendWorkspaceKey?: string;
|
|
11
|
-
novuApplicationIdentifier?: string;
|
|
12
11
|
}
|
|
13
12
|
export declare enum NAVIGATION_MENUS {
|
|
14
13
|
NAVIGATION = "navigation",
|
|
@@ -16,5 +15,5 @@ export declare enum NAVIGATION_MENUS {
|
|
|
16
15
|
ACCOUNT = "account-navigation",
|
|
17
16
|
SITE = "site-navigation"
|
|
18
17
|
}
|
|
19
|
-
declare const Header: ({ showNavigation, showLanguageUnavailableMessage, showLanguageSwitcher, onLanguageSwitcherClick, suprSendWorkspaceKey,
|
|
18
|
+
declare const Header: ({ showNavigation, showLanguageUnavailableMessage, showLanguageSwitcher, onLanguageSwitcherClick, suprSendWorkspaceKey, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
20
19
|
export default Header;
|
|
@@ -38,7 +38,6 @@ interface Props {
|
|
|
38
38
|
onLanguageSwitcherClick?: () => void;
|
|
39
39
|
};
|
|
40
40
|
suprSendWorkspaceKey?: string;
|
|
41
|
-
novuApplicationIdentifier?: string;
|
|
42
41
|
}
|
|
43
|
-
declare const PageLayout: ({ children, additionalContent: { prepended, appended }, reportError, forceShow, styling, className, locale, suprSendWorkspaceKey,
|
|
42
|
+
declare const PageLayout: ({ children, additionalContent: { prepended, appended }, reportError, forceShow, styling, className, locale, suprSendWorkspaceKey, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
44
43
|
export default PageLayout;
|
|
@@ -62,6 +62,15 @@ interface Props {
|
|
|
62
62
|
onClick: () => void;
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
|
+
/** Whether the user can edit the content */
|
|
66
|
+
edit?: false | {
|
|
67
|
+
/** Whether the user can edit the content */
|
|
68
|
+
canEdit: boolean;
|
|
69
|
+
functions: {
|
|
70
|
+
/** The function to handle the edit click */
|
|
71
|
+
onClick: () => void;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
65
74
|
/** Props for the share link button */
|
|
66
75
|
shareLink: false | {
|
|
67
76
|
/** The URL for the share link */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apolitical/component-library",
|
|
3
|
-
"version": "8.3.18-
|
|
3
|
+
"version": "8.3.18-re.3",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"getstream": "8.4.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@novu/react": "2.6.0",
|
|
18
17
|
"@suprsend/react-inbox": "3.6.1",
|
|
19
18
|
"@tanstack/query-core": "5.8.3",
|
|
20
19
|
"@tanstack/react-query": "5.8.3",
|