@vaneui/ui 0.9.0-alpha.20260108153335.d1109b4 → 0.9.0-alpha.20260109124513.4547e77

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 CHANGED
@@ -151,19 +151,22 @@ return (
151
151
  );
152
152
  ```
153
153
 
154
- You can change default CSS classes of all components by providing `themeOverride` in ThemeProvider:
154
+ You can modify component themes programmatically by providing `themeOverride` in ThemeProvider:
155
155
 
156
156
  ```tsx
157
157
  const overrideFunc = (theme: ThemeProps) => {
158
- theme.button.themes.appearance.text.outline.default.base = 'text-blue-200';
159
- theme.button.themes.appearance.text.outline.default.hover = 'hover:text-blue-700';
160
- theme.button.themes.appearance.text.outline.default.active = 'active:text-blue-900';
158
+ // Add classes to button's base (always applied)
159
+ theme.button.base += ' uppercase tracking-wide';
160
+
161
+ // Change default props for a component
162
+ theme.button.defaults = { ...theme.button.defaults, semibold: true };
163
+
161
164
  return theme;
162
165
  };
163
166
 
164
167
  return (
165
168
  <ThemeProvider themeOverride={overrideFunc}>
166
- <Button>This button has blue colors</Button>
169
+ <Button>This button is uppercase with tracking</Button>
167
170
  </ThemeProvider>
168
171
  );
169
172
  ```
@@ -207,7 +210,7 @@ export function App() {
207
210
 
208
211
  Each component exposes optional boolean props generated from category keys. Common examples:
209
212
  - Size: `xs`, `sm`, `md`, `lg`, `xl`
210
- - Appearance: `default`, `primary`, `secondary`, `tertiary`, `accent`, `success`, `danger`, `warning`, `info`, `transparent`
213
+ - Appearance: `primary`, `brand`, `accent`, `secondary`, `tertiary`, `success`, `danger`, `warning`, `info`, `link`
211
214
  - Variant: `filled`, `outline`
212
215
  - Shape: `pill`, `rounded`, `sharp`
213
216
  - Typography: `sans`, `serif`, `mono`, `thin`…`black`, `italic`/`notItalic`, `underline`/`lineThrough`/`overline`, `uppercase`/`lowercase`/`capitalize`
@@ -218,16 +221,16 @@ Only the categories relevant to a component are used. The theme maps these boole
218
221
  ## Available Components
219
222
 
220
223
  From the main entry import:
221
- - Interactive: Button, Badge, Chip, Code, Checkbox, Label
222
- - Layout: Section, Container, Row, Col, Stack, Grid3, Grid4, Card, Divider
224
+ - Interactive: Button, Badge, Chip, Code, Input, Checkbox, Label
225
+ - Layout: Section, Container, Row, Col, Stack, Grid2, Grid3, Grid4, Grid5, Grid6, Card, Divider
223
226
  - Typography: Text, Title, Link, List, ListItem, SectionTitle, PageTitle
224
227
  - Media: Img
225
228
 
226
229
  ```ts
227
230
  import {
228
231
  Button, Badge, Chip, Code,
229
- Checkbox, Label, Img,
230
- Section, Container, Row, Col, Stack, Grid3, Grid4, Card, Divider,
232
+ Input, Checkbox, Label, Img,
233
+ Section, Container, Row, Col, Stack, Grid2, Grid3, Grid4, Grid5, Grid6, Card, Divider,
231
234
  Text, Title, Link, List, ListItem, SectionTitle, PageTitle,
232
235
  } from '@vaneui/ui';
233
236
  ```
@@ -2,7 +2,7 @@
2
2
  * Auto-generated prop descriptions from JSDoc comments.
3
3
  * DO NOT EDIT MANUALLY - Run 'npm run props:generate' to regenerate.
4
4
  *
5
- * Generated on: 2026-01-08T15:33:36.789Z
5
+ * Generated on: 2026-01-09T12:45:14.752Z
6
6
  */
7
7
  export interface PropDescription {
8
8
  description: string;
package/dist/index.esm.js CHANGED
@@ -237,7 +237,7 @@ const ComponentCategories = {
237
237
  * Auto-generated prop descriptions from JSDoc comments.
238
238
  * DO NOT EDIT MANUALLY - Run 'npm run props:generate' to regenerate.
239
239
  *
240
- * Generated on: 2026-01-08T15:33:36.789Z
240
+ * Generated on: 2026-01-09T12:45:14.752Z
241
241
  */
242
242
  const PropDescriptions = {
243
243
  "appearance": {
package/dist/index.js CHANGED
@@ -239,7 +239,7 @@ const ComponentCategories = {
239
239
  * Auto-generated prop descriptions from JSDoc comments.
240
240
  * DO NOT EDIT MANUALLY - Run 'npm run props:generate' to regenerate.
241
241
  *
242
- * Generated on: 2026-01-08T15:33:36.789Z
242
+ * Generated on: 2026-01-09T12:45:14.752Z
243
243
  */
244
244
  const PropDescriptions = {
245
245
  "appearance": {
package/dist/ui.css CHANGED
@@ -1152,9 +1152,6 @@
1152
1152
  .text-amber-600 {
1153
1153
  color: var(--color-amber-600);
1154
1154
  }
1155
- .text-blue-200 {
1156
- color: var(--color-blue-200);
1157
- }
1158
1155
  .text-blue-500 {
1159
1156
  color: var(--color-blue-500);
1160
1157
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaneui/ui",
3
- "version": "0.9.0-alpha.20260108153335.d1109b4",
3
+ "version": "0.9.0-alpha.20260109124513.4547e77",
4
4
  "description": "A simple and lightweight UI component library for React, built with Tailwind CSS.",
5
5
  "author": "",
6
6
  "license": "ISC",