@vaneui/ui 0.3.1-alpha.20251001131502.03a0ce2 → 0.3.1-alpha.20251001144233.cfeb345

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.
Files changed (47) hide show
  1. package/dist/components/ui/card.d.ts +8 -10
  2. package/dist/components/ui/card.d.ts.map +1 -1
  3. package/dist/components/ui/checkbox.d.ts +4 -5
  4. package/dist/components/ui/checkbox.d.ts.map +1 -1
  5. package/dist/components/ui/code.d.ts +4 -5
  6. package/dist/components/ui/code.d.ts.map +1 -1
  7. package/dist/components/ui/col.d.ts +4 -5
  8. package/dist/components/ui/col.d.ts.map +1 -1
  9. package/dist/components/ui/container.d.ts +4 -5
  10. package/dist/components/ui/container.d.ts.map +1 -1
  11. package/dist/components/ui/divider.d.ts +4 -5
  12. package/dist/components/ui/divider.d.ts.map +1 -1
  13. package/dist/components/ui/grid.d.ts +20 -25
  14. package/dist/components/ui/grid.d.ts.map +1 -1
  15. package/dist/components/ui/img.d.ts +4 -5
  16. package/dist/components/ui/img.d.ts.map +1 -1
  17. package/dist/components/ui/input.d.ts +4 -5
  18. package/dist/components/ui/input.d.ts.map +1 -1
  19. package/dist/components/ui/label.d.ts +4 -5
  20. package/dist/components/ui/label.d.ts.map +1 -1
  21. package/dist/components/ui/props/breakpoint.d.ts +9 -11
  22. package/dist/components/ui/props/breakpoint.d.ts.map +1 -1
  23. package/dist/components/ui/props/hide.d.ts +9 -11
  24. package/dist/components/ui/props/hide.d.ts.map +1 -1
  25. package/dist/components/ui/props/keys.d.ts +2 -2
  26. package/dist/components/ui/row.d.ts +8 -10
  27. package/dist/components/ui/row.d.ts.map +1 -1
  28. package/dist/components/ui/section.d.ts +8 -10
  29. package/dist/components/ui/section.d.ts.map +1 -1
  30. package/dist/components/ui/stack.d.ts +8 -10
  31. package/dist/components/ui/stack.d.ts.map +1 -1
  32. package/dist/components/ui/theme/cardTheme.d.ts.map +1 -1
  33. package/dist/components/ui/theme/defaults.d.ts.map +1 -1
  34. package/dist/components/ui/theme/layout/hideTheme.d.ts +8 -10
  35. package/dist/components/ui/theme/layout/hideTheme.d.ts.map +1 -1
  36. package/dist/components/ui/theme/size/breakpointTheme.d.ts +8 -10
  37. package/dist/components/ui/theme/size/breakpointTheme.d.ts.map +1 -1
  38. package/dist/components/ui/theme/size/gapTheme.d.ts.map +1 -1
  39. package/dist/components/ui/typography.d.ts +4 -5
  40. package/dist/components/ui/typography.d.ts.map +1 -1
  41. package/dist/index.esm.js +72 -67
  42. package/dist/index.esm.js.map +1 -1
  43. package/dist/index.js +79 -76
  44. package/dist/index.js.map +1 -1
  45. package/dist/ui.css +198 -17
  46. package/dist/vars.css +3 -3
  47. package/package.json +1 -1
package/dist/ui.css CHANGED
@@ -432,9 +432,6 @@
432
432
  }
433
433
  .container {
434
434
  width: 100%;
435
- @media (width >= 20rem) {
436
- max-width: 20rem;
437
- }
438
435
  @media (width >= 40rem) {
439
436
  max-width: 40rem;
440
437
  }
@@ -444,6 +441,9 @@
444
441
  @media (width >= 48rem) {
445
442
  max-width: 48rem;
446
443
  }
444
+ @media (width >= 48rem) {
445
+ max-width: 48rem;
446
+ }
447
447
  @media (width >= 64rem) {
448
448
  max-width: 64rem;
449
449
  }
@@ -1551,6 +1551,9 @@
1551
1551
  .\[--aspect-ratio\:1\.75\] {
1552
1552
  --aspect-ratio: 1.75;
1553
1553
  }
1554
+ .\[--aspect-ratio\:1\] {
1555
+ --aspect-ratio: 1;
1556
+ }
1554
1557
  .\[--aspect-ratio\:2\.5\] {
1555
1558
  --aspect-ratio: 2.5;
1556
1559
  }
@@ -1698,6 +1701,9 @@
1698
1701
  .\[--py-unit\:8\] {
1699
1702
  --py-unit: 8;
1700
1703
  }
1704
+ .\[--py-unit\:10\] {
1705
+ --py-unit: 10;
1706
+ }
1701
1707
  .\[--py-unit\:12\] {
1702
1708
  --py-unit: 12;
1703
1709
  }
@@ -2333,49 +2339,224 @@
2333
2339
  cursor: pointer;
2334
2340
  }
2335
2341
  }
2336
- .max-xl\:hidden {
2342
+ .max-desktop\:hidden {
2337
2343
  @media (width < 80rem) {
2338
2344
  display: none;
2339
2345
  }
2340
2346
  }
2341
- .max-xl\:flex-col {
2347
+ .max-desktop\:flex-col {
2342
2348
  @media (width < 80rem) {
2343
2349
  flex-direction: column;
2344
2350
  }
2345
2351
  }
2346
- .max-lg\:hidden {
2352
+ .max-laptop\:hidden {
2347
2353
  @media (width < 64rem) {
2348
2354
  display: none;
2349
2355
  }
2350
2356
  }
2351
- .max-lg\:flex-col {
2357
+ .max-laptop\:flex-col {
2352
2358
  @media (width < 64rem) {
2353
2359
  flex-direction: column;
2354
2360
  }
2355
2361
  }
2356
- .max-md\:hidden {
2362
+ .max-laptop\:\[--fs-unit\:8\] {
2363
+ @media (width < 64rem) {
2364
+ --fs-unit: 8;
2365
+ }
2366
+ }
2367
+ .max-laptop\:\[--fs-unit\:9\] {
2368
+ @media (width < 64rem) {
2369
+ --fs-unit: 9;
2370
+ }
2371
+ }
2372
+ .max-laptop\:\[--fs-unit\:10\] {
2373
+ @media (width < 64rem) {
2374
+ --fs-unit: 10;
2375
+ }
2376
+ }
2377
+ .max-laptop\:\[--fs-unit\:11\] {
2378
+ @media (width < 64rem) {
2379
+ --fs-unit: 11;
2380
+ }
2381
+ }
2382
+ .max-laptop\:\[--fs-unit\:12\] {
2383
+ @media (width < 64rem) {
2384
+ --fs-unit: 12;
2385
+ }
2386
+ }
2387
+ .max-laptop\:\[--fs-unit\:13\] {
2388
+ @media (width < 64rem) {
2389
+ --fs-unit: 13;
2390
+ }
2391
+ }
2392
+ .max-laptop\:\[--fs-unit\:14\] {
2393
+ @media (width < 64rem) {
2394
+ --fs-unit: 14;
2395
+ }
2396
+ }
2397
+ .max-laptop\:\[--fs-unit\:15\] {
2398
+ @media (width < 64rem) {
2399
+ --fs-unit: 15;
2400
+ }
2401
+ }
2402
+ .max-laptop\:\[--fs-unit\:16\] {
2403
+ @media (width < 64rem) {
2404
+ --fs-unit: 16;
2405
+ }
2406
+ }
2407
+ .max-laptop\:\[--fs-unit\:17\] {
2408
+ @media (width < 64rem) {
2409
+ --fs-unit: 17;
2410
+ }
2411
+ }
2412
+ .max-laptop\:\[--fs-unit\:21\] {
2413
+ @media (width < 64rem) {
2414
+ --fs-unit: 21;
2415
+ }
2416
+ }
2417
+ .max-laptop\:\[--fs-unit\:22\] {
2418
+ @media (width < 64rem) {
2419
+ --fs-unit: 22;
2420
+ }
2421
+ }
2422
+ .max-laptop\:\[--fs-unit\:27\] {
2423
+ @media (width < 64rem) {
2424
+ --fs-unit: 27;
2425
+ }
2426
+ }
2427
+ .max-laptop\:\[--fs-unit\:28\] {
2428
+ @media (width < 64rem) {
2429
+ --fs-unit: 28;
2430
+ }
2431
+ }
2432
+ .max-laptop\:\[--fs-unit\:33\] {
2433
+ @media (width < 64rem) {
2434
+ --fs-unit: 33;
2435
+ }
2436
+ }
2437
+ .max-laptop\:\[--py-unit\:3\] {
2438
+ @media (width < 64rem) {
2439
+ --py-unit: 3;
2440
+ }
2441
+ }
2442
+ .max-laptop\:\[--py-unit\:4\] {
2443
+ @media (width < 64rem) {
2444
+ --py-unit: 4;
2445
+ }
2446
+ }
2447
+ .max-laptop\:\[--py-unit\:6\] {
2448
+ @media (width < 64rem) {
2449
+ --py-unit: 6;
2450
+ }
2451
+ }
2452
+ .max-laptop\:\[--py-unit\:8\] {
2453
+ @media (width < 64rem) {
2454
+ --py-unit: 8;
2455
+ }
2456
+ }
2457
+ .max-laptop\:\[--py-unit\:10\] {
2458
+ @media (width < 64rem) {
2459
+ --py-unit: 10;
2460
+ }
2461
+ }
2462
+ .max-tablet\:hidden {
2357
2463
  @media (width < 48rem) {
2358
2464
  display: none;
2359
2465
  }
2360
2466
  }
2361
- .max-md\:flex-col {
2467
+ .max-tablet\:flex-col {
2362
2468
  @media (width < 48rem) {
2363
2469
  flex-direction: column;
2364
2470
  }
2365
2471
  }
2366
- .max-sm\:hidden {
2367
- @media (width < 40rem) {
2368
- display: none;
2472
+ .max-tablet\:\[--fs-unit\:7\] {
2473
+ @media (width < 48rem) {
2474
+ --fs-unit: 7;
2475
+ }
2476
+ }
2477
+ .max-tablet\:\[--fs-unit\:8\] {
2478
+ @media (width < 48rem) {
2479
+ --fs-unit: 8;
2480
+ }
2481
+ }
2482
+ .max-tablet\:\[--fs-unit\:9\] {
2483
+ @media (width < 48rem) {
2484
+ --fs-unit: 9;
2485
+ }
2486
+ }
2487
+ .max-tablet\:\[--fs-unit\:10\] {
2488
+ @media (width < 48rem) {
2489
+ --fs-unit: 10;
2490
+ }
2491
+ }
2492
+ .max-tablet\:\[--fs-unit\:11\] {
2493
+ @media (width < 48rem) {
2494
+ --fs-unit: 11;
2495
+ }
2496
+ }
2497
+ .max-tablet\:\[--fs-unit\:12\] {
2498
+ @media (width < 48rem) {
2499
+ --fs-unit: 12;
2500
+ }
2501
+ }
2502
+ .max-tablet\:\[--fs-unit\:13\] {
2503
+ @media (width < 48rem) {
2504
+ --fs-unit: 13;
2505
+ }
2506
+ }
2507
+ .max-tablet\:\[--fs-unit\:14\] {
2508
+ @media (width < 48rem) {
2509
+ --fs-unit: 14;
2510
+ }
2511
+ }
2512
+ .max-tablet\:\[--fs-unit\:16\] {
2513
+ @media (width < 48rem) {
2514
+ --fs-unit: 16;
2515
+ }
2516
+ }
2517
+ .max-tablet\:\[--fs-unit\:18\] {
2518
+ @media (width < 48rem) {
2519
+ --fs-unit: 18;
2520
+ }
2521
+ }
2522
+ .max-tablet\:\[--fs-unit\:20\] {
2523
+ @media (width < 48rem) {
2524
+ --fs-unit: 20;
2525
+ }
2526
+ }
2527
+ .max-tablet\:\[--fs-unit\:24\] {
2528
+ @media (width < 48rem) {
2529
+ --fs-unit: 24;
2530
+ }
2531
+ }
2532
+ .max-tablet\:\[--fs-unit\:26\] {
2533
+ @media (width < 48rem) {
2534
+ --fs-unit: 26;
2535
+ }
2536
+ }
2537
+ .max-tablet\:\[--fs-unit\:30\] {
2538
+ @media (width < 48rem) {
2539
+ --fs-unit: 30;
2369
2540
  }
2370
2541
  }
2371
- .max-sm\:flex-col {
2542
+ .max-tablet\:\[--py-unit\:2\] {
2543
+ @media (width < 48rem) {
2544
+ --py-unit: 2;
2545
+ }
2546
+ }
2547
+ .max-tablet\:\[--py-unit\:4\] {
2548
+ @media (width < 48rem) {
2549
+ --py-unit: 4;
2550
+ }
2551
+ }
2552
+ .max-mobile\:hidden {
2372
2553
  @media (width < 40rem) {
2373
- flex-direction: column;
2554
+ display: none;
2374
2555
  }
2375
2556
  }
2376
- .max-tablet\:bg-red-500 {
2557
+ .max-mobile\:flex-col {
2377
2558
  @media (width < 40rem) {
2378
- background-color: var(--color-red-500);
2559
+ flex-direction: column;
2379
2560
  }
2380
2561
  }
2381
2562
  .sm\:grid-cols-2 {
@@ -2423,8 +2604,8 @@
2423
2604
  --aspect-ratio: 1;
2424
2605
  --py-unit: 1;
2425
2606
  --px: calc(var(--aspect-ratio) * var(--py-unit) * var(--layout-spacing));
2426
- --py: calc(var(--py-unit) * var(--layout-spacing));
2427
2607
  --ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
2608
+ --py: calc(var(--py-unit) * var(--layout-spacing));
2428
2609
  --ui-py: calc(var(--py-unit) * var(--ui-spacing));
2429
2610
  --br-unit: 1;
2430
2611
  --br: calc(var(--br-unit) * var(--br-base));
package/dist/vars.css CHANGED
@@ -152,8 +152,8 @@
152
152
  --ui-br-base: calc(var(--spacing) * 0.5);
153
153
  --fs-base: calc(var(--spacing) * 0.5);
154
154
 
155
- --breakpoint-mobile: 20rem;
156
- --breakpoint-tablet: 40rem;
155
+ --breakpoint-mobile: 40rem;
156
+ --breakpoint-tablet: 48rem;
157
157
  --breakpoint-laptop: 64rem;
158
158
  --breakpoint-desktop: 80rem;
159
159
  }
@@ -167,8 +167,8 @@
167
167
  --aspect-ratio: 1;
168
168
  --py-unit: 1;
169
169
  --px: calc(var(--aspect-ratio) * var(--py-unit) * var(--layout-spacing));
170
- --py: calc(var(--py-unit) * var(--layout-spacing));
171
170
  --ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
171
+ --py: calc(var(--py-unit) * var(--layout-spacing));
172
172
  --ui-py: calc(var(--py-unit) * var(--ui-spacing));
173
173
 
174
174
  --br-unit: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaneui/ui",
3
- "version": "0.3.1-alpha.20251001131502.03a0ce2",
3
+ "version": "0.3.1-alpha.20251001144233.cfeb345",
4
4
  "description": "A simple and lightweight UI component library for React, built with Tailwind CSS.",
5
5
  "author": "",
6
6
  "license": "ISC",