@vaneui/ui 0.3.1-alpha.20251214132905.c959e96 → 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"}
@@ -27,6 +27,7 @@ export declare const listItemTheme: ComponentTheme<TypographyProps, TypographyTh
27
27
  export interface ListTheme extends BaseTypographyComponentTheme {
28
28
  size: {
29
29
  text: FontSizeTheme;
30
+ lineHeight: LineHeightTheme;
30
31
  paddingLeft: PlTheme;
31
32
  };
32
33
  appearance: {
@@ -1 +1 @@
1
- {"version":3,"file":"typographyTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/theme/typographyTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,4BAA4B,EAC5B,cAAc,EACd,mBAAmB,EAEpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,MAAM,WAAW,eAAgB,SAAQ,4BAA4B;IACnE,IAAI,EAAE;QACJ,IAAI,EAAE,aAAa,CAAC;QACpB,UAAU,EAAE,eAAe,CAAC;KAC7B,CAAC;IACF,UAAU,EAAE;QACV,IAAI,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;KAC5C,CAAC;IACF,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED,eAAO,MAAM,8BAA8B,GACzC,KAAK,KAAK,CAAC,WAAW,EACtB,OAAM,MAAuB,EAC7B,gBAAe,aAAmC,EAClD,WAAU,OAAO,CAAC,eAAe,CAAM,EACvC,kBAAiB,eAAiD,KACjE,cAAc,CAAC,eAAe,EAAE,eAAe,CAqBjD,CAAC;AAGF,eAAO,MAAM,cAAc,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AAC,eAAe,CAAC,CAAC;KAC5C,CAAC;IACF,MAAM,EAAE,mBAAmB,CAAC;IAC5B,SAAS,EAAE,cAAc,CAAC;CAC3B;AAGD,eAAO,MAAM,SAAS,EAAE,cAAc,CAAC,SAAS,EAAE,SAAS,CA2B1D,CAAC"}
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: {
@@ -4848,6 +4846,7 @@ const textTheme = createTypographyComponentTheme("p", "p-0 m-0 w-fit", new FontS
4848
4846
  const linkTheme = new ComponentTheme("a", "hover:underline w-fit cursor-pointer", {
4849
4847
  size: {
4850
4848
  text: new FontSizeTheme(),
4849
+ lineHeight: LineHeightTheme.createDefault(),
4851
4850
  },
4852
4851
  appearance: {
4853
4852
  text: GenericVariantTheme.createTypographyTextTheme(),
@@ -4855,10 +4854,11 @@ const linkTheme = new ComponentTheme("a", "hover:underline w-fit cursor-pointer"
4855
4854
  typography: defaultTypographyThemes,
4856
4855
  layout: defaultLayoutsThemes,
4857
4856
  }, themeDefaults.link, TYPOGRAPHY_CATEGORIES);
4858
- // List specific theme
4857
+ // ListItem specific theme
4859
4858
  const listItemTheme = new ComponentTheme("li", "", {
4860
4859
  size: {
4861
4860
  text: new FontSizeTheme(),
4861
+ lineHeight: LineHeightTheme.createDefault(),
4862
4862
  },
4863
4863
  appearance: {
4864
4864
  text: GenericVariantTheme.createTypographyTextTheme(),
@@ -4870,6 +4870,7 @@ const listItemTheme = new ComponentTheme("li", "", {
4870
4870
  const listTheme = new ComponentTheme("ul", "list-inside", {
4871
4871
  size: {
4872
4872
  text: new FontSizeTheme(),
4873
+ lineHeight: LineHeightTheme.createDefault(),
4873
4874
  paddingLeft: new PlTheme(),
4874
4875
  },
4875
4876
  appearance: {