elseware-ui 2.22.9 → 2.23.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.
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { BaseComponentProps } from "../../../interfaces";
3
+ import { ListDirection } from "../../../types";
4
+ interface BlockProps extends BaseComponentProps {
5
+ title?: string;
6
+ description?: string;
7
+ required?: boolean;
8
+ layout?: ListDirection;
9
+ labelWidth?: string;
10
+ children: React.ReactNode;
11
+ }
12
+ declare function Block({ title, description, required, layout, labelWidth, children, className, ...rest }: BlockProps): import("react/jsx-runtime").JSX.Element;
13
+ export default Block;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { BaseComponentProps } from "../../../interfaces";
3
+ interface BlockGroupProps extends BaseComponentProps {
4
+ title?: string;
5
+ description?: string;
6
+ children: React.ReactNode;
7
+ noDivider?: boolean;
8
+ }
9
+ declare function BlockGroup({ title, description, children, noDivider, className, ...rest }: BlockGroupProps): import("react/jsx-runtime").JSX.Element;
10
+ export default BlockGroup;
@@ -0,0 +1,3 @@
1
+ import Block from "./Block";
2
+ import BlockGroup from "./BlockGroup";
3
+ export { Block, BlockGroup };
@@ -1,3 +1,4 @@
1
1
  export * from "./flex";
2
2
  export * from "./grid";
3
3
  export * from "./layout";
4
+ export * from "./block";