@stenajs-webui/panels 20.6.10 → 20.7.0

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,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { ReactNode } from "react";
3
3
  import { SidebarMenuButtonProps } from "./NavBarSideMenuButton";
4
- export declare type NavBarVariant = "compact" | "standard" | "relaxed";
4
+ export type NavBarVariant = "compact" | "standard" | "relaxed";
5
5
  export interface NavBarProps {
6
6
  className?: string;
7
7
  showMenuButton?: boolean;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { ReactNode } from "react";
3
3
  import { NavBarButtonProps } from "./NavBarButton";
4
- declare type RenderProp = (args: RenderPropArgs) => ReactNode;
4
+ type RenderProp = (args: RenderPropArgs) => ReactNode;
5
5
  interface RenderPropArgs {
6
6
  close: () => void;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { ReactNode } from "react";
3
3
  import { NotificationHeaderProps } from "./NotificationHeader";
4
- export declare type NotificationVariant = "standard" | "danger";
4
+ export type NotificationVariant = "standard" | "danger";
5
5
  export interface NotificationProps extends NotificationHeaderProps {
6
6
  children?: ReactNode;
7
7
  }
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { ReactNode } from "react";
3
3
  import { HeadingVariant } from "@stenajs-webui/core";
4
4
  import { MediumIcon } from "@stenajs-webui/elements";
5
- export declare type PageHeadingVariant = "compact" | "standard" | "relaxed";
5
+ export type PageHeadingVariant = "compact" | "standard" | "relaxed";
6
6
  interface PageHeadingProps {
7
7
  icon?: MediumIcon;
8
8
  contentLeft?: ReactNode;
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import { ReactNode } from "react";
4
4
  import { SidebarMenuCloseButtonRowProps } from "./SidebarMenuCloseButtonRow";
5
5
  import { NavBarVariant } from "../nav-bar/NavBar";
6
- export declare type SidebarMenuVariant = NavBarVariant;
6
+ export type SidebarMenuVariant = NavBarVariant;
7
7
  export interface SidebarMenuProps extends BoxProps {
8
8
  onCloseClick?: SidebarMenuCloseButtonRowProps["onClick"];
9
9
  variant?: SidebarMenuVariant;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { IconMenuButtonProps } from "@stenajs-webui/elements";
3
- export declare type RailMenuButtonProps = IconMenuButtonProps & {
3
+ export type RailMenuButtonProps = IconMenuButtonProps & {
4
4
  label: string;
5
5
  };
6
6
  export declare const RailMenuButton: React.FC<RailMenuButtonProps>;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { MenuButtonLinkNotSelectedProps, MenuButtonLinkWithRenderLinkProps, MenuButtonLinkWithSelectedProps } from "@stenajs-webui/elements";
3
- export declare type RailMenuLinkProps = (MenuButtonLinkNotSelectedProps | MenuButtonLinkWithSelectedProps | MenuButtonLinkWithRenderLinkProps) & {
3
+ export type RailMenuLinkProps = (MenuButtonLinkNotSelectedProps | MenuButtonLinkWithSelectedProps | MenuButtonLinkWithRenderLinkProps) & {
4
4
  label: string;
5
5
  };
6
6
  export declare const RailMenuLink: React.FC<RailMenuLinkProps>;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { MenuButtonLinkNotSelectedProps, MenuButtonLinkWithRenderLinkProps, MenuButtonLinkWithSelectedProps } from "@stenajs-webui/elements";
3
- export declare type SidebarMenuLinkProps = (MenuButtonLinkNotSelectedProps | MenuButtonLinkWithSelectedProps | MenuButtonLinkWithRenderLinkProps) & {
3
+ export type SidebarMenuLinkProps = (MenuButtonLinkNotSelectedProps | MenuButtonLinkWithSelectedProps | MenuButtonLinkWithRenderLinkProps) & {
4
4
  label: string;
5
5
  };
6
6
  export declare const SidebarMenuLink: React.FC<SidebarMenuLinkProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stenajs-webui/panels",
3
- "version": "20.6.10",
3
+ "version": "20.7.0",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "author": "mattias800",
@@ -33,11 +33,11 @@
33
33
  "deploy": "gh-pages -d example/build"
34
34
  },
35
35
  "dependencies": {
36
- "@stenajs-webui/core": "20.6.10",
37
- "@stenajs-webui/elements": "20.6.10",
38
- "@stenajs-webui/forms": "20.6.10",
39
- "@stenajs-webui/theme": "20.6.10",
40
- "@stenajs-webui/tooltip": "20.6.10",
36
+ "@stenajs-webui/core": "20.7.0",
37
+ "@stenajs-webui/elements": "20.7.0",
38
+ "@stenajs-webui/forms": "20.7.0",
39
+ "@stenajs-webui/theme": "20.7.0",
40
+ "@stenajs-webui/tooltip": "20.7.0",
41
41
  "classnames": "^2.3.1",
42
42
  "date-fns": "2.26.0",
43
43
  "react-transition-group": "^4.3.0",
@@ -71,5 +71,5 @@
71
71
  "files": [
72
72
  "dist"
73
73
  ],
74
- "gitHead": "ab35c723b6b584fba2f62cf871e9b3139b5c76fb"
74
+ "gitHead": "8dc9fe226a0ae212caa675f867b9d9bce3bbb7e6"
75
75
  }