wacomm 2.31.3 → 2.32.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.
@@ -2,7 +2,8 @@ import { ZeroFuncType } from 'waujs';
2
2
  interface ColumnProps {
3
3
  children: any;
4
4
  className?: string;
5
- onClick?: ZeroFuncType;
5
+ onClick: ZeroFuncType;
6
+ disabled?: boolean;
6
7
  }
7
- declare function Column({ children, className, onClick }: ColumnProps): import("react").JSX.Element;
8
+ declare function Column({ children, className, onClick, disabled }: ColumnProps): import("react").JSX.Element;
8
9
  export default Column;
@@ -3,7 +3,7 @@ interface ContainerProps {
3
3
  children: any;
4
4
  className?: string;
5
5
  isVertical?: boolean;
6
- onClick?: ZeroFuncType;
6
+ onClick: ZeroFuncType;
7
7
  disabled?: boolean;
8
8
  }
9
9
  declare function Container({ children, className, isVertical, onClick, disabled }: ContainerProps): import("react").JSX.Element;
@@ -2,7 +2,8 @@ import { ZeroFuncType } from 'waujs';
2
2
  export interface RowProps {
3
3
  children: any;
4
4
  className?: string;
5
- onClick?: ZeroFuncType;
5
+ onClick: ZeroFuncType;
6
+ disabled?: boolean;
6
7
  }
7
- declare function Row({ children, className, onClick }: RowProps): import("react").JSX.Element;
8
+ declare function Row({ children, className, onClick, disabled }: RowProps): import("react").JSX.Element;
8
9
  export default Row;
@@ -0,0 +1,6 @@
1
+ import { StaticContainerProps } from './util';
2
+ export interface StaticContainerComponentProps extends StaticContainerProps {
3
+ isVertical?: boolean;
4
+ }
5
+ declare function StaticContainer({ children, className, isVertical }: StaticContainerComponentProps): import("react").JSX.Element;
6
+ export default StaticContainer;
@@ -3,4 +3,6 @@ export { default as Column } from './Column';
3
3
  export { default as Container } from './Container';
4
4
  export { default as StaticRow } from './StaticRow';
5
5
  export { default as StaticColumn } from './StaticColumn';
6
+ export { default as StaticContainer } from './StaticContainer';
6
7
  export type { StaticContainerProps } from './util';
8
+ export type { StaticContainerComponentProps } from './StaticContainer';
@@ -1,10 +1,11 @@
1
+ import { ButtonHTMLAttributes } from 'react';
1
2
  import { ZeroFuncType } from 'waujs';
2
3
  export declare const divClassName = "appearance-none bg-transparent p-0 m-0 text-left cursor-pointer focus:outline-none";
3
- export interface ClickableDivProps {
4
+ export interface ClickableDivProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'onClick' | 'disabled' | 'type'> {
4
5
  children: React.ReactNode;
5
6
  className?: string;
6
7
  onClick?: ZeroFuncType;
7
8
  disabled?: boolean;
8
9
  }
9
- declare function ClickableDiv({ children, className, onClick, disabled }: ClickableDivProps): import("react").JSX.Element;
10
+ declare function ClickableDiv({ children, className, onClick, disabled, ...rest }: ClickableDivProps): import("react").JSX.Element;
10
11
  export default ClickableDiv;