@canonical/maas-react-components 2.8.1 → 2.8.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { SidePanelTitles } from '../SidePanel';
|
|
3
3
|
type LayoutProps = {
|
|
4
|
+
id?: string;
|
|
4
5
|
className?: string;
|
|
5
6
|
children: ReactNode;
|
|
6
7
|
pageTitle: string;
|
|
@@ -12,7 +13,7 @@ type LayoutProps = {
|
|
|
12
13
|
statusBar?: ReactNode;
|
|
13
14
|
};
|
|
14
15
|
export declare const Layout: {
|
|
15
|
-
({ className, children, pageTitle, view, isSecondaryNavVisible, navigation, secondaryNavigation, sidePanelTitles, statusBar, }: LayoutProps): ReactElement;
|
|
16
|
+
({ id, className, children, pageTitle, view, isSecondaryNavVisible, navigation, secondaryNavigation, sidePanelTitles, statusBar, }: LayoutProps): ReactElement;
|
|
16
17
|
Skeleton: ({ view, }: {
|
|
17
18
|
view: "settings" | "table";
|
|
18
19
|
}) => ReactElement;
|
package/dist/testing/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as e } from "../lib-
|
|
1
|
+
import { v as e } from "../lib-CFep0joz.mjs";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import { RouterProvider as n, createMemoryRouter as r } from "react-router";
|
|
4
4
|
import { render as i, renderHook as a, screen as o } from "@testing-library/react";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/maas-react-components",
|
|
3
3
|
"description": "React components for use in MAAS UI projects.",
|
|
4
|
-
"version": "2.8.
|
|
4
|
+
"version": "2.8.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/canonical/maas-react-components.git"
|
|
@@ -58,6 +58,9 @@
|
|
|
58
58
|
"create-component": "plop component"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
+
"@canonical/summon": "^0.37.0",
|
|
62
|
+
"@canonical/summon-application": "^0.37.0",
|
|
63
|
+
"@canonical/summon-component": "^0.37.0",
|
|
61
64
|
"@commitlint/cli": "^19.0.0",
|
|
62
65
|
"@commitlint/config-conventional": "^19.0.0",
|
|
63
66
|
"@remix-run/router": "^1.23.3",
|
|
@@ -111,7 +114,11 @@
|
|
|
111
114
|
}
|
|
112
115
|
},
|
|
113
116
|
"peerDependencies": {
|
|
117
|
+
"@canonical/ds-assets": "^0.37.0",
|
|
114
118
|
"@canonical/react-components": "^4.5.0",
|
|
119
|
+
"@canonical/react-ds-global": "^0.37.0",
|
|
120
|
+
"@canonical/react-ds-global-form": "^0.37.0",
|
|
121
|
+
"@canonical/styles": "^0.37.0",
|
|
115
122
|
"@tanstack/react-query": "^5.100.11",
|
|
116
123
|
"@tanstack/react-table": "^8.15.3",
|
|
117
124
|
"@testing-library/react": "^16.0.0",
|