@vaneui/ui 0.3.1-alpha.20251001131502.03a0ce2 → 0.3.1-alpha.20251001142553.9da86c7

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 +57 -52
  42. package/dist/index.esm.js.map +1 -1
  43. package/dist/index.js +64 -61
  44. package/dist/index.js.map +1 -1
  45. package/dist/ui.css +53 -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,79 @@
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\:\[--py-unit\:3\] {
2363
+ @media (width < 64rem) {
2364
+ --py-unit: 3;
2365
+ }
2366
+ }
2367
+ .max-laptop\:\[--py-unit\:4\] {
2368
+ @media (width < 64rem) {
2369
+ --py-unit: 4;
2370
+ }
2371
+ }
2372
+ .max-laptop\:\[--py-unit\:6\] {
2373
+ @media (width < 64rem) {
2374
+ --py-unit: 6;
2375
+ }
2376
+ }
2377
+ .max-laptop\:\[--py-unit\:8\] {
2378
+ @media (width < 64rem) {
2379
+ --py-unit: 8;
2380
+ }
2381
+ }
2382
+ .max-laptop\:\[--py-unit\:10\] {
2383
+ @media (width < 64rem) {
2384
+ --py-unit: 10;
2385
+ }
2386
+ }
2387
+ .max-tablet\:hidden {
2357
2388
  @media (width < 48rem) {
2358
2389
  display: none;
2359
2390
  }
2360
2391
  }
2361
- .max-md\:flex-col {
2392
+ .max-tablet\:flex-col {
2362
2393
  @media (width < 48rem) {
2363
2394
  flex-direction: column;
2364
2395
  }
2365
2396
  }
2366
- .max-sm\:hidden {
2367
- @media (width < 40rem) {
2368
- display: none;
2397
+ .max-tablet\:\[--py-unit\:2\] {
2398
+ @media (width < 48rem) {
2399
+ --py-unit: 2;
2369
2400
  }
2370
2401
  }
2371
- .max-sm\:flex-col {
2402
+ .max-tablet\:\[--py-unit\:4\] {
2403
+ @media (width < 48rem) {
2404
+ --py-unit: 4;
2405
+ }
2406
+ }
2407
+ .max-mobile\:hidden {
2372
2408
  @media (width < 40rem) {
2373
- flex-direction: column;
2409
+ display: none;
2374
2410
  }
2375
2411
  }
2376
- .max-tablet\:bg-red-500 {
2412
+ .max-mobile\:flex-col {
2377
2413
  @media (width < 40rem) {
2378
- background-color: var(--color-red-500);
2414
+ flex-direction: column;
2379
2415
  }
2380
2416
  }
2381
2417
  .sm\:grid-cols-2 {
@@ -2423,8 +2459,8 @@
2423
2459
  --aspect-ratio: 1;
2424
2460
  --py-unit: 1;
2425
2461
  --px: calc(var(--aspect-ratio) * var(--py-unit) * var(--layout-spacing));
2426
- --py: calc(var(--py-unit) * var(--layout-spacing));
2427
2462
  --ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
2463
+ --py: calc(var(--py-unit) * var(--layout-spacing));
2428
2464
  --ui-py: calc(var(--py-unit) * var(--ui-spacing));
2429
2465
  --br-unit: 1;
2430
2466
  --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.20251001142553.9da86c7",
4
4
  "description": "A simple and lightweight UI component library for React, built with Tailwind CSS.",
5
5
  "author": "",
6
6
  "license": "ISC",