@vaneui/ui 0.3.1-alpha.20250930203841.cec91ca → 0.3.1-alpha.20251001131502.03a0ce2

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 (38) hide show
  1. package/dist/components/ui/theme/badgeTheme.d.ts +4 -2
  2. package/dist/components/ui/theme/badgeTheme.d.ts.map +1 -1
  3. package/dist/components/ui/theme/buttonTheme.d.ts +4 -2
  4. package/dist/components/ui/theme/buttonTheme.d.ts.map +1 -1
  5. package/dist/components/ui/theme/cardTheme.d.ts +2 -0
  6. package/dist/components/ui/theme/cardTheme.d.ts.map +1 -1
  7. package/dist/components/ui/theme/checkboxTheme.d.ts +1 -1
  8. package/dist/components/ui/theme/checkboxTheme.d.ts.map +1 -1
  9. package/dist/components/ui/theme/chipTheme.d.ts +4 -2
  10. package/dist/components/ui/theme/chipTheme.d.ts.map +1 -1
  11. package/dist/components/ui/theme/codeTheme.d.ts +4 -2
  12. package/dist/components/ui/theme/codeTheme.d.ts.map +1 -1
  13. package/dist/components/ui/theme/common/ComponentTheme.d.ts +0 -2
  14. package/dist/components/ui/theme/common/ComponentTheme.d.ts.map +1 -1
  15. package/dist/components/ui/theme/inputTheme.d.ts +4 -2
  16. package/dist/components/ui/theme/inputTheme.d.ts.map +1 -1
  17. package/dist/components/ui/theme/labelTheme.d.ts +3 -1
  18. package/dist/components/ui/theme/labelTheme.d.ts.map +1 -1
  19. package/dist/components/ui/theme/sectionTheme.d.ts.map +1 -1
  20. package/dist/components/ui/theme/size/fontSizeTheme.d.ts.map +1 -0
  21. package/dist/components/ui/theme/{typography → size}/lineHeightTheme.d.ts +1 -0
  22. package/dist/components/ui/theme/size/lineHeightTheme.d.ts.map +1 -0
  23. package/dist/components/ui/theme/size/pxTheme.d.ts +1 -1
  24. package/dist/components/ui/theme/size/pxTheme.d.ts.map +1 -1
  25. package/dist/components/ui/theme/size/sizeTheme.d.ts +1 -4
  26. package/dist/components/ui/theme/size/sizeTheme.d.ts.map +1 -1
  27. package/dist/components/ui/theme/typographyTheme.d.ts +3 -2
  28. package/dist/components/ui/theme/typographyTheme.d.ts.map +1 -1
  29. package/dist/index.esm.js +118 -121
  30. package/dist/index.esm.js.map +1 -1
  31. package/dist/index.js +118 -121
  32. package/dist/index.js.map +1 -1
  33. package/dist/ui.css +27 -7
  34. package/dist/vars.css +9 -5
  35. package/package.json +1 -1
  36. package/dist/components/ui/theme/typography/fontSizeTheme.d.ts.map +0 -1
  37. package/dist/components/ui/theme/typography/lineHeightTheme.d.ts.map +0 -1
  38. /package/dist/components/ui/theme/{typography → size}/fontSizeTheme.d.ts +0 -0
package/dist/ui.css CHANGED
@@ -247,11 +247,11 @@
247
247
  --color-border-filled-warning: var(--color-yellow-600);
248
248
  --color-border-filled-info: var(--color-blue-600);
249
249
  --color-border-filled-link: var(--color-blue-600);
250
- --layout-spacing: clamp(0.1rem, 0.16rem + 0.4vw, 0.3rem);
250
+ --layout-spacing: var(--spacing);
251
251
  --ui-spacing: var(--spacing);
252
- --br-base: 0.25rem;
253
- --ui-br-base: 0.125rem;
254
- --fs-base: 0.125rem;
252
+ --br-base: var(--spacing);
253
+ --ui-br-base: calc(var(--spacing) * 0.5);
254
+ --fs-base: calc(var(--spacing) * 0.5);
255
255
  }
256
256
  }
257
257
  @layer base {
@@ -432,6 +432,12 @@
432
432
  }
433
433
  .container {
434
434
  width: 100%;
435
+ @media (width >= 20rem) {
436
+ max-width: 20rem;
437
+ }
438
+ @media (width >= 40rem) {
439
+ max-width: 40rem;
440
+ }
435
441
  @media (width >= 40rem) {
436
442
  max-width: 40rem;
437
443
  }
@@ -441,6 +447,12 @@
441
447
  @media (width >= 64rem) {
442
448
  max-width: 64rem;
443
449
  }
450
+ @media (width >= 64rem) {
451
+ max-width: 64rem;
452
+ }
453
+ @media (width >= 80rem) {
454
+ max-width: 80rem;
455
+ }
444
456
  @media (width >= 80rem) {
445
457
  max-width: 80rem;
446
458
  }
@@ -1160,6 +1172,9 @@
1160
1172
  font-size: var(--text-xs);
1161
1173
  line-height: var(--tw-leading, var(--text-xs--line-height));
1162
1174
  }
1175
+ .text-\(length\:--fs\) {
1176
+ font-size: var(--fs);
1177
+ }
1163
1178
  .leading-\(--lh\) {
1164
1179
  --tw-leading: var(--lh);
1165
1180
  line-height: var(--lh);
@@ -1278,9 +1293,6 @@
1278
1293
  .text-\(--color-text-warning\) {
1279
1294
  color: var(--color-text-warning);
1280
1295
  }
1281
- .text-\(--fs\) {
1282
- color: var(--fs);
1283
- }
1284
1296
  .text-blue-200 {
1285
1297
  color: var(--color-blue-200);
1286
1298
  }
@@ -1632,6 +1644,9 @@
1632
1644
  .\[--lh-unit\:1\.2\] {
1633
1645
  --lh-unit: 1.2;
1634
1646
  }
1647
+ .\[--lh-unit\:1\.3\] {
1648
+ --lh-unit: 1.3;
1649
+ }
1635
1650
  .\[--lh-unit\:1\.4\] {
1636
1651
  --lh-unit: 1.4;
1637
1652
  }
@@ -2358,6 +2373,11 @@
2358
2373
  flex-direction: column;
2359
2374
  }
2360
2375
  }
2376
+ .max-tablet\:bg-red-500 {
2377
+ @media (width < 40rem) {
2378
+ background-color: var(--color-red-500);
2379
+ }
2380
+ }
2361
2381
  .sm\:grid-cols-2 {
2362
2382
  @media (width >= 40rem) {
2363
2383
  grid-template-columns: repeat(2, minmax(0, 1fr));
package/dist/vars.css CHANGED
@@ -146,12 +146,16 @@
146
146
  --color-border-filled-info: var(--color-blue-600);
147
147
  --color-border-filled-link: var(--color-blue-600);
148
148
 
149
-
150
- --layout-spacing: clamp(0.1rem, 0.16rem + 0.4vw, 0.3rem);
149
+ --layout-spacing: var(--spacing);
151
150
  --ui-spacing: var(--spacing);
152
- --br-base: 0.25rem;
153
- --ui-br-base: 0.125rem;
154
- --fs-base: 0.125rem;
151
+ --br-base: var(--spacing);
152
+ --ui-br-base: calc(var(--spacing) * 0.5);
153
+ --fs-base: calc(var(--spacing) * 0.5);
154
+
155
+ --breakpoint-mobile: 20rem;
156
+ --breakpoint-tablet: 40rem;
157
+ --breakpoint-laptop: 64rem;
158
+ --breakpoint-desktop: 80rem;
155
159
  }
156
160
 
157
161
  @layer base {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaneui/ui",
3
- "version": "0.3.1-alpha.20250930203841.cec91ca",
3
+ "version": "0.3.1-alpha.20251001131502.03a0ce2",
4
4
  "description": "A simple and lightweight UI component library for React, built with Tailwind CSS.",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -1 +0,0 @@
1
- {"version":3,"file":"fontSizeTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/typography/fontSizeTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,qBAAa,aAAc,SAAQ,SAAU,YAAW,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC;IAC7E,+DAA+D;IAC/D,EAAE,EAAE,MAAM,CAAmB;IAC7B,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAmB;IAC7B,yDAAyD;IACzD,EAAE,EAAE,MAAM,CAAmB;IAC7B,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAmB;IAC7B,gEAAgE;IAChE,EAAE,EAAE,MAAM,CAAoB;gBAElB,aAAa,CAAC,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC;IAWnD,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE;IASlD,MAAM,CAAC,kBAAkB,IAAI,aAAa;IAU1C,MAAM,CAAC,qBAAqB,IAAI,aAAa;IAU7C,MAAM,CAAC,cAAc,IAAI,aAAa;CASvC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"lineHeightTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/typography/lineHeightT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