aot-ui 0.2.2 → 0.2.3

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.
@@ -181,4 +181,3 @@ export * from './modules/volume-rubber';
181
181
  export { WalletBalance, WB_DURATION_MS, WB_DEFAULT_BALANCE, WB_RECEIVE_AMOUNT, easeOutCubic } from './modules/wallet-balance';
182
182
  export type { WalletBalanceProps } from './modules/wallet-balance';
183
183
  export * from './modules/watermark';
184
- export * from './modules/window-shell';
@@ -1,2 +1,24 @@
1
- import { ButtonProps } from '../types';
2
- export declare function Button({ children, tone: toneProp, size: sizeProp, loading, loadingIcon, block, plain: plainProp, text: textProp, bg, link, round: roundProp, circle, dashed: dashedProp, icon, iconPosition, color, autoInsertSpace: autoInsertSpaceProp, tag, disabled, className, type, style, ...rest }: ButtonProps): import('react').JSX.Element;
1
+ import { ReactNode } from 'react';
2
+ export declare const Button: import('react').ForwardRefExoticComponent<{
3
+ children?: ReactNode;
4
+ tone?: import('..').ButtonTone;
5
+ size?: import('..').ButtonSize;
6
+ loading?: boolean;
7
+ loadingIcon?: ReactNode;
8
+ disabled?: boolean;
9
+ block?: boolean;
10
+ plain?: boolean;
11
+ text?: boolean;
12
+ bg?: boolean;
13
+ link?: boolean;
14
+ round?: boolean;
15
+ circle?: boolean;
16
+ dashed?: boolean;
17
+ icon?: ReactNode;
18
+ iconPosition?: import('..').ButtonIconPosition;
19
+ color?: string;
20
+ autoInsertSpace?: boolean;
21
+ tag?: import('react').ElementType;
22
+ href?: string;
23
+ className?: string;
24
+ } & Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "className" | "color"> & import('react').RefAttributes<HTMLButtonElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aot-ui",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "AOT React UI component kit",
5
5
  "type": "module",
6
6
  "main": "./dist-lib/aot-ui.js",
@@ -1,7 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type AppShellProps = {
3
- title?: string;
4
- children: ReactNode;
5
- };
6
- export declare function AppShell({ title, children }: AppShellProps): import('react').JSX.Element;
7
- export {};
@@ -1 +0,0 @@
1
- export declare function ResizeHandles(): import('react').JSX.Element;
@@ -1,6 +0,0 @@
1
- type TitleBarProps = {
2
- title?: string;
3
- isMaximized: boolean;
4
- };
5
- export declare function TitleBar({ title, isMaximized }: TitleBarProps): import('react').JSX.Element;
6
- export {};
@@ -1 +0,0 @@
1
- export declare function useWindowMaximized(): boolean;
@@ -1,4 +0,0 @@
1
- export { AppShell } from './AppShell';
2
- export { TitleBar } from './components/TitleBar';
3
- export { ResizeHandles } from './components/ResizeHandles';
4
- export { useWindowMaximized } from './hooks/useWindowMaximized';