@hitachivantara/app-shell-shared 1.1.0 → 1.2.1

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,4 +1,5 @@
1
1
  import { Context } from 'react';
2
+ import type { HvContainerProps } from '@hitachivantara/uikit-react-core';
2
3
  import type { i18n } from 'i18next';
3
4
 
4
5
  export declare const CONFIG_TRANSLATIONS_NAMESPACE = "configTranslations";
@@ -58,10 +59,9 @@ export declare type HvAppShellLogo = {
58
59
  description?: string;
59
60
  };
60
61
 
61
- export declare type HvAppShellMainPanelConfig = {
62
- maxWidth?: "xs" | "sm" | "md" | "lg" | "xl" | false;
63
- views?: HvAppShellViewsConfig[];
64
- };
62
+ export declare interface HvAppShellMainPanelConfig extends ViewHvContainerProps {
63
+ views?: HvAppShellTopViewConfig[];
64
+ }
65
65
 
66
66
  export declare type HvAppShellMenuConfig = {
67
67
  label: string;
@@ -86,6 +86,9 @@ export declare type HvAppShellThemingConfig = {
86
86
  colorMode?: string;
87
87
  };
88
88
 
89
+ export declare interface HvAppShellTopViewConfig extends HvAppShellViewsConfig, ViewHvContainerProps {
90
+ }
91
+
89
92
  export declare const HvAppShellViewContext: Context<HvAppShellViewContextValue | undefined>;
90
93
 
91
94
  export declare interface HvAppShellViewContextValue {
@@ -120,4 +123,6 @@ export declare const useHvAppShellConfig: () => HvAppShellContextValue;
120
123
 
121
124
  export declare const useHvMenuItems: () => MenuItemsContext;
122
125
 
126
+ declare type ViewHvContainerProps = Omit<HvContainerProps, "children">;
127
+
123
128
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/app-shell-shared",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "App Shell Shared",
5
5
  "author": "Hitachi Vantara - Boba Fett Team",
6
6
  "license": "Apache-2.0",
@@ -50,5 +50,8 @@
50
50
  "vite-plugin-dts": "^3.6.4",
51
51
  "vite-tsconfig-paths": "^4.0.5"
52
52
  },
53
- "gitHead": "6140d2027f6c2d215f1d3c015a9adafd0cf00de6"
53
+ "dependencies": {
54
+ "@hitachivantara/uikit-react-core": "^5.65.3"
55
+ },
56
+ "gitHead": "14eb397d067e6018dc043762d5fb40e631b89942"
54
57
  }