@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.
- package/dist/components/ui/theme/size/pxTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/typographyTheme.d.ts +1 -0
- package/dist/components/ui/theme/typographyTheme.d.ts.map +1 -1
- package/dist/index.esm.js +9 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/ui.css +0 -24
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3637,8 +3637,6 @@ class PxTheme extends PaddingTheme {
|
|
|
3637
3637
|
xl: "[--aspect-ratio:1]",
|
|
3638
3638
|
};
|
|
3639
3639
|
this.isUIComponent = isUIComponent;
|
|
3640
|
-
// PxTheme should not set any padding classes - that's PyTheme's job
|
|
3641
|
-
// PxTheme only handles aspect-ratio
|
|
3642
3640
|
}
|
|
3643
3641
|
getClasses(extractedKeys) {
|
|
3644
3642
|
var _a, _b;
|
|
@@ -4525,11 +4523,11 @@ const themeDefaults = {
|
|
|
4525
4523
|
};
|
|
4526
4524
|
|
|
4527
4525
|
const buttonAspectRatioClasses = {
|
|
4528
|
-
xs: "[--aspect-ratio:2]",
|
|
4529
|
-
sm: "[--aspect-ratio:2]",
|
|
4530
|
-
md: "[--aspect-ratio:2]",
|
|
4531
|
-
lg: "[--aspect-ratio:2]",
|
|
4532
|
-
xl: "[--aspect-ratio:2]",
|
|
4526
|
+
xs: "[--aspect-ratio:2]",
|
|
4527
|
+
sm: "[--aspect-ratio:2]",
|
|
4528
|
+
md: "[--aspect-ratio:2]",
|
|
4529
|
+
lg: "[--aspect-ratio:2]",
|
|
4530
|
+
xl: "[--aspect-ratio:2]",
|
|
4533
4531
|
};
|
|
4534
4532
|
const defaultButtonTheme = new ComponentTheme("button", "w-fit h-fit cursor-pointer transition-all duration-200 whitespace-nowrap", {
|
|
4535
4533
|
size: {
|
|
@@ -4850,6 +4848,7 @@ const textTheme = createTypographyComponentTheme("p", "p-0 m-0 w-fit", new FontS
|
|
|
4850
4848
|
const linkTheme = new ComponentTheme("a", "hover:underline w-fit cursor-pointer", {
|
|
4851
4849
|
size: {
|
|
4852
4850
|
text: new FontSizeTheme(),
|
|
4851
|
+
lineHeight: LineHeightTheme.createDefault(),
|
|
4853
4852
|
},
|
|
4854
4853
|
appearance: {
|
|
4855
4854
|
text: GenericVariantTheme.createTypographyTextTheme(),
|
|
@@ -4857,10 +4856,11 @@ const linkTheme = new ComponentTheme("a", "hover:underline w-fit cursor-pointer"
|
|
|
4857
4856
|
typography: defaultTypographyThemes,
|
|
4858
4857
|
layout: defaultLayoutsThemes,
|
|
4859
4858
|
}, themeDefaults.link, TYPOGRAPHY_CATEGORIES);
|
|
4860
|
-
//
|
|
4859
|
+
// ListItem specific theme
|
|
4861
4860
|
const listItemTheme = new ComponentTheme("li", "", {
|
|
4862
4861
|
size: {
|
|
4863
4862
|
text: new FontSizeTheme(),
|
|
4863
|
+
lineHeight: LineHeightTheme.createDefault(),
|
|
4864
4864
|
},
|
|
4865
4865
|
appearance: {
|
|
4866
4866
|
text: GenericVariantTheme.createTypographyTextTheme(),
|
|
@@ -4872,6 +4872,7 @@ const listItemTheme = new ComponentTheme("li", "", {
|
|
|
4872
4872
|
const listTheme = new ComponentTheme("ul", "list-inside", {
|
|
4873
4873
|
size: {
|
|
4874
4874
|
text: new FontSizeTheme(),
|
|
4875
|
+
lineHeight: LineHeightTheme.createDefault(),
|
|
4875
4876
|
paddingLeft: new PlTheme(),
|
|
4876
4877
|
},
|
|
4877
4878
|
appearance: {
|