@acyui/components 0.1.1 → 0.1.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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -7,7 +7,7 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
7
7
|
variant?: ButtonVariant;
|
|
8
8
|
size?: ButtonSize;
|
|
9
9
|
loading?: boolean;
|
|
10
|
-
icon?: React.ReactNode
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
11
|
iconRight?: boolean;
|
|
12
12
|
full?: boolean;
|
|
13
13
|
color?: ButtonColor;
|
|
@@ -3,7 +3,7 @@ import type * as React from 'react';
|
|
|
3
3
|
export type IconButtonVariant = ButtonVariant;
|
|
4
4
|
export type IconButtonSize = Extract<ButtonSize, 'small' | 'medium' | 'large'>;
|
|
5
5
|
export interface IconButtonProps extends Omit<ButtonProps, 'children' | 'leftIcon' | 'rightIcon'> {
|
|
6
|
-
icon: React.ReactNode
|
|
6
|
+
icon: React.ReactNode;
|
|
7
7
|
label?: string;
|
|
8
8
|
variant?: IconButtonVariant;
|
|
9
9
|
size?: IconButtonSize;
|
|
@@ -14,7 +14,7 @@ export interface SidebarHeaderProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
14
14
|
collapsible?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export interface SidebarItemOwnProps {
|
|
17
|
-
icon?: React.ReactNode
|
|
17
|
+
icon?: React.ReactNode;
|
|
18
18
|
active?: boolean;
|
|
19
19
|
searchText?: string;
|
|
20
20
|
children?: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acyui/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Acyui React component library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
"import": "./dist/acyui.es.js",
|
|
20
20
|
"require": "./dist/acyui.cjs.js"
|
|
21
21
|
},
|
|
22
|
-
"./styles":
|
|
22
|
+
"./styles": {
|
|
23
|
+
"types": "./dist/acyui.css.d.ts",
|
|
24
|
+
"default": "./dist/acyui.css"
|
|
25
|
+
},
|
|
23
26
|
"./dist/acyui.css": "./dist/acyui.css",
|
|
24
27
|
"./package.json": "./package.json"
|
|
25
28
|
},
|
|
@@ -39,13 +42,13 @@
|
|
|
39
42
|
"access": "public"
|
|
40
43
|
},
|
|
41
44
|
"peerDependencies": {
|
|
42
|
-
"react": "^18.0.0",
|
|
43
|
-
"react-dom": "^18.0.0"
|
|
45
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
46
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
44
47
|
},
|
|
45
48
|
"devDependencies": {
|
|
46
49
|
"@types/node": "^25.3.0",
|
|
47
|
-
"@types/react": "^18.
|
|
48
|
-
"@types/react-dom": "^18.
|
|
50
|
+
"@types/react": "^18.3.0",
|
|
51
|
+
"@types/react-dom": "^18.3.0",
|
|
49
52
|
"esbuild": "^0.27.3",
|
|
50
53
|
"lucide": "^0.575.0",
|
|
51
54
|
"react": "^18.3.1",
|