@aivex/ui 0.1.1 → 1.1.0-dev.10
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.
- package/README.md +78 -1
- package/dist/components/Button/Button.d.ts +4 -5
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/ChipsCheckbox.d.ts +6 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Icon/index.d.ts +8 -0
- package/dist/components/IconButton/IconButton.d.ts +6 -3
- package/dist/components/InputBase/InputBase.d.ts +30 -0
- package/dist/components/InputBase/index.d.ts +1 -0
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/SelectBox/SelectBox.d.ts +34 -0
- package/dist/components/SelectBox/index.d.ts +2 -0
- package/dist/components/Tagbox/Tagbox.d.ts +9 -2
- package/dist/components/Textarea/Textarea.d.ts +15 -9
- package/dist/components/Textarea/index.d.ts +1 -1
- package/dist/components/Textbox/Textbox.d.ts +18 -0
- package/dist/components/Textbox/index.d.ts +2 -0
- package/dist/index.cjs +41 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5069 -2552
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme.css +154 -0
- package/dist/tokens/tokens.css +80 -15
- package/package.json +134 -2
- package/dist/components/Input/Input.d.ts +0 -13
- package/dist/components/Input/index.d.ts +0 -2
- package/dist/components/Select/Select.d.ts +0 -13
- package/dist/components/Select/index.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aivex/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0-dev.10",
|
|
4
4
|
"description": "Aivex Design System UI Components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"require": "./dist/index.cjs"
|
|
20
20
|
},
|
|
21
21
|
"./styles.css": "./dist/styles.css",
|
|
22
|
+
"./theme.css": "./dist/theme.css",
|
|
22
23
|
"./tokens/tokens.css": "./dist/tokens/tokens.css",
|
|
23
24
|
"./package.json": "./package.json"
|
|
24
25
|
},
|
|
@@ -26,12 +27,13 @@
|
|
|
26
27
|
"dev": "storybook dev -p 6006",
|
|
27
28
|
"storybook": "storybook dev -p 6006",
|
|
28
29
|
"clean": "rm -rf dist",
|
|
29
|
-
"build": "pnpm clean && vite build && tsc -p tsconfig.build.json && mkdir -p dist/tokens && cp src/tokens/tokens.css dist/tokens/tokens.css",
|
|
30
|
+
"build": "pnpm clean && vite build && tsc -p tsconfig.build.json && mkdir -p dist/tokens && cp src/tokens/tokens.css dist/tokens/tokens.css && cp src/theme.css dist/theme.css",
|
|
30
31
|
"build-storybook": "storybook build",
|
|
31
32
|
"typecheck": "tsc --noEmit",
|
|
32
33
|
"lint": "biome check ./src",
|
|
33
34
|
"lint:fix": "biome check --write ./src",
|
|
34
35
|
"format": "biome format --write ./src",
|
|
36
|
+
"prepare": "husky",
|
|
35
37
|
"prepublishOnly": "pnpm lint && pnpm typecheck && pnpm build && npm pack --dry-run"
|
|
36
38
|
},
|
|
37
39
|
"peerDependencies": {
|
|
@@ -52,9 +54,136 @@
|
|
|
52
54
|
"publishConfig": {
|
|
53
55
|
"access": "public"
|
|
54
56
|
},
|
|
57
|
+
"release": {
|
|
58
|
+
"extends": [],
|
|
59
|
+
"branches": [
|
|
60
|
+
{
|
|
61
|
+
"name": "main"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "dev",
|
|
65
|
+
"prerelease": "dev"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"tagFormat": "v${version}",
|
|
69
|
+
"plugins": [
|
|
70
|
+
[
|
|
71
|
+
"@semantic-release/commit-analyzer",
|
|
72
|
+
{
|
|
73
|
+
"preset": "angular",
|
|
74
|
+
"releaseRules": [
|
|
75
|
+
{
|
|
76
|
+
"scope": "no-release",
|
|
77
|
+
"release": false
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "breaking",
|
|
81
|
+
"release": "major"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "feat",
|
|
85
|
+
"release": "minor"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "fix",
|
|
89
|
+
"release": "patch"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "refactor",
|
|
93
|
+
"release": "patch"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "style",
|
|
97
|
+
"release": "patch"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "perf",
|
|
101
|
+
"release": "patch"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "revert",
|
|
105
|
+
"release": "patch"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "docs",
|
|
109
|
+
"scope": "README",
|
|
110
|
+
"release": "patch"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "chore",
|
|
114
|
+
"release": false
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "ci",
|
|
118
|
+
"release": false
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "test",
|
|
122
|
+
"release": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "move",
|
|
126
|
+
"release": false
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "remove",
|
|
130
|
+
"release": false
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"parserOpts": {
|
|
134
|
+
"noteKeywords": [
|
|
135
|
+
"BREAKING CHANGE",
|
|
136
|
+
"BREAKING CHANGES"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
[
|
|
142
|
+
"@semantic-release/release-notes-generator",
|
|
143
|
+
{
|
|
144
|
+
"preset": "angular"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
[
|
|
148
|
+
"@semantic-release/npm",
|
|
149
|
+
{
|
|
150
|
+
"npmPublish": true
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
[
|
|
154
|
+
"@semantic-release/changelog",
|
|
155
|
+
{
|
|
156
|
+
"assets": [
|
|
157
|
+
"CHANGELOG.md"
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
[
|
|
162
|
+
"@semantic-release/git",
|
|
163
|
+
{
|
|
164
|
+
"assets": [
|
|
165
|
+
"CHANGELOG.md",
|
|
166
|
+
"package.json"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
[
|
|
171
|
+
"@semantic-release/exec",
|
|
172
|
+
{
|
|
173
|
+
"verifyReleaseCmd": "echo ${nextRelease.version} > .VERSION"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
]
|
|
177
|
+
},
|
|
55
178
|
"packageManager": "pnpm@10.18.3",
|
|
56
179
|
"devDependencies": {
|
|
57
180
|
"@biomejs/biome": "2.4.12",
|
|
181
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
182
|
+
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
183
|
+
"@semantic-release/exec": "^7.0.3",
|
|
184
|
+
"@semantic-release/git": "^10.0.1",
|
|
185
|
+
"@semantic-release/npm": "^12.0.1",
|
|
186
|
+
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
58
187
|
"@storybook/addon-a11y": "^10.3.6",
|
|
59
188
|
"@storybook/addon-docs": "^10.3.6",
|
|
60
189
|
"@storybook/addon-onboarding": "^10.3.6",
|
|
@@ -67,10 +196,12 @@
|
|
|
67
196
|
"@vitejs/plugin-react": "^6.0.1",
|
|
68
197
|
"@vitest/browser-playwright": "^4.1.5",
|
|
69
198
|
"@vitest/coverage-v8": "^4.1.5",
|
|
199
|
+
"husky": "^9.1.7",
|
|
70
200
|
"playwright": "^1.59.1",
|
|
71
201
|
"postcss": "8.5.10",
|
|
72
202
|
"react": "^19.2.5",
|
|
73
203
|
"react-dom": "^19.2.5",
|
|
204
|
+
"semantic-release": "^25.0.3",
|
|
74
205
|
"storybook": "^10.3.6",
|
|
75
206
|
"tailwindcss": "^4.2.4",
|
|
76
207
|
"typescript": "^6.0.3",
|
|
@@ -78,6 +209,7 @@
|
|
|
78
209
|
"vitest": "^4.1.5"
|
|
79
210
|
},
|
|
80
211
|
"dependencies": {
|
|
212
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
81
213
|
"@radix-ui/react-slot": "^1.2.4",
|
|
82
214
|
"class-variance-authority": "^0.7.1",
|
|
83
215
|
"clsx": "^2.1.1",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type VariantProps } from "class-variance-authority";
|
|
2
|
-
import type { InputHTMLAttributes, Ref } from "react";
|
|
3
|
-
declare const inputWrapperVariants: (props?: ({
|
|
4
|
-
state?: "default" | "disabled" | "focused" | "error" | null | undefined;
|
|
5
|
-
size?: "sm" | "md" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size">, Pick<VariantProps<typeof inputWrapperVariants>, "size"> {
|
|
8
|
-
label?: string;
|
|
9
|
-
error?: boolean;
|
|
10
|
-
ref?: Ref<HTMLInputElement>;
|
|
11
|
-
}
|
|
12
|
-
declare function Input({ className, label, error, disabled, size, id, ref, onFocus, onBlur, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export { Input, inputWrapperVariants };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type VariantProps } from "class-variance-authority";
|
|
2
|
-
import type { Ref, SelectHTMLAttributes } from "react";
|
|
3
|
-
declare const selectWrapperVariants: (props?: ({
|
|
4
|
-
state?: "default" | "disabled" | "focused" | "error" | null | undefined;
|
|
5
|
-
size?: "sm" | "md" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
export interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "size">, Pick<VariantProps<typeof selectWrapperVariants>, "size"> {
|
|
8
|
-
label?: string;
|
|
9
|
-
error?: boolean;
|
|
10
|
-
ref?: Ref<HTMLSelectElement>;
|
|
11
|
-
}
|
|
12
|
-
declare function Select({ className, label, error, disabled, size, id, children, ref, onFocus, onBlur, ...props }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export { Select, selectWrapperVariants };
|