@vaneui/ui 0.3.1-alpha.20251214141144.6dd59c5 → 0.3.1-alpha.20251214142729.7385e1d

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.
@@ -1 +1 @@
1
- {"version":3,"file":"pxTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/pxTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,iEAAiE;AACjE,qBAAa,OAAQ,SAAQ,YAAY;IACvC,OAAO,CAAC,cAAc,CAAC,CAA0B;IACjD,OAAO,CAAC,aAAa,CAAC,CAAU;gBAEpB,WAAW,CAAC,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,aAAa,UAAQ;IAcxE,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE;CAkBnD"}
1
+ {"version":3,"file":"pxTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/pxTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,iEAAiE;AACjE,qBAAa,OAAQ,SAAQ,YAAY;IACvC,OAAO,CAAC,cAAc,CAAC,CAA0B;IACjD,OAAO,CAAC,aAAa,CAAC,CAAU;gBAEpB,WAAW,CAAC,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,aAAa,UAAQ;IAYxE,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE;CAkBnD"}
package/dist/index.esm.js CHANGED
@@ -3635,8 +3635,6 @@ class PxTheme extends PaddingTheme {
3635
3635
  xl: "[--aspect-ratio:1]",
3636
3636
  };
3637
3637
  this.isUIComponent = isUIComponent;
3638
- // PxTheme should not set any padding classes - that's PyTheme's job
3639
- // PxTheme only handles aspect-ratio
3640
3638
  }
3641
3639
  getClasses(extractedKeys) {
3642
3640
  var _a, _b;
@@ -4523,11 +4521,11 @@ const themeDefaults = {
4523
4521
  };
4524
4522
 
4525
4523
  const buttonAspectRatioClasses = {
4526
- xs: "[--aspect-ratio:2]", // px-2 vs py-1 = 2
4527
- sm: "[--aspect-ratio:2]", // px-3 vs py-1.5 = 2
4528
- md: "[--aspect-ratio:2]", // px-4 vs py-2 = 2
4529
- lg: "[--aspect-ratio:2]", // px-5 vs py-2.5 = 2
4530
- xl: "[--aspect-ratio:2]", // px-6 vs py-3 = 2
4524
+ xs: "[--aspect-ratio:2]",
4525
+ sm: "[--aspect-ratio:2]",
4526
+ md: "[--aspect-ratio:2]",
4527
+ lg: "[--aspect-ratio:2]",
4528
+ xl: "[--aspect-ratio:2]",
4531
4529
  };
4532
4530
  const defaultButtonTheme = new ComponentTheme("button", "w-fit h-fit cursor-pointer transition-all duration-200 whitespace-nowrap", {
4533
4531
  size: {