@plasmicpkgs/plasmic-rich-components 1.0.76 → 1.0.78

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.
@@ -3,6 +3,9 @@ import { ReactNode } from "react";
3
3
  interface NavMenuItem extends Omit<MenuDataItem, "routes"> {
4
4
  routes?: NavMenuItem[];
5
5
  }
6
+ export interface SimpleNavTheme {
7
+ scheme?: "light" | "dark" | "accent";
8
+ }
6
9
  export interface RichLayoutProps extends ProLayoutProps {
7
10
  navMenuItems?: NavMenuItem[];
8
11
  rootUrl?: string;
@@ -11,6 +14,7 @@ export interface RichLayoutProps extends ProLayoutProps {
11
14
  avatarLabel?: string;
12
15
  avatarImage?: string;
13
16
  showAvatarMenu?: boolean;
17
+ simpleNavTheme?: SimpleNavTheme;
14
18
  }
15
- export declare function RichLayout({ children, navMenuItems, rootUrl, actionsChildren, footerChildren, avatarLabel, avatarImage, showAvatarMenu, className, ...layoutProps }: RichLayoutProps): JSX.Element | null;
19
+ export declare function RichLayout({ children, navMenuItems, rootUrl, actionsChildren, footerChildren, avatarLabel, avatarImage, showAvatarMenu, className, simpleNavTheme, ...layoutProps }: RichLayoutProps): JSX.Element | null;
16
20
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/plasmic-rich-components",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "description": "Rich batteries-included general purpose components for business apps, admin panels, etc.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,8 +30,8 @@
30
30
  "devDependencies": {
31
31
  "@ant-design/icons": "^5.0.1",
32
32
  "@ant-design/pro-components": "^2.4.1",
33
- "@plasmicapp/data-sources": "0.1.84",
34
- "@plasmicapp/host": "1.0.142",
33
+ "@plasmicapp/data-sources": "0.1.85",
34
+ "@plasmicapp/host": "1.0.143",
35
35
  "@size-limit/preset-small-lib": "^4.11.0",
36
36
  "@types/node": "^14.0.26",
37
37
  "antd": "^5.4.0",
@@ -56,5 +56,5 @@
56
56
  "fast-stringify": "^2.0.0",
57
57
  "lodash": "^4.17.21"
58
58
  },
59
- "gitHead": "5cea285d1ce34993d5d48e92cebc9e76ec906371"
59
+ "gitHead": "17b5e3cb8c2a41ec4bda12c90e6dc0ff69358eda"
60
60
  }