@vaneui/ui 0.9.0-alpha.20260105191526.b49b458 → 0.9.0-alpha.20260106192523.680d7a3
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/props/keys.d.ts +9 -9
- package/dist/components/ui/props/keys.d.ts.map +1 -1
- package/dist/components/ui/props/propDescriptions.d.ts +1 -1
- package/dist/components/ui/theme/size/fontSizeTheme.d.ts +5 -8
- package/dist/components/ui/theme/size/fontSizeTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/size/gapTheme.d.ts +5 -8
- package/dist/components/ui/theme/size/gapTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/size/pxTheme.d.ts +5 -8
- package/dist/components/ui/theme/size/pxTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/size/pyTheme.d.ts +5 -8
- package/dist/components/ui/theme/size/pyTheme.d.ts.map +1 -1
- package/dist/index.esm.js +37 -51
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +37 -51
- package/dist/index.js.map +1 -1
- package/dist/ui.css +63 -36
- package/dist/vars.css +30 -14
- package/package.json +1 -1
|
@@ -137,15 +137,15 @@ export type ShapeKey = typeof ComponentKeys.shape[number];
|
|
|
137
137
|
export declare const RESPONSIVE_BREAKPOINT_KEYS: readonly ["desktop", "tablet", "mobile"];
|
|
138
138
|
/** Type for common responsive breakpoint keys */
|
|
139
139
|
export type ResponsiveBreakpointClassKey = typeof RESPONSIVE_BREAKPOINT_KEYS[number];
|
|
140
|
-
/**
|
|
141
|
-
/** Font size theme class keys
|
|
142
|
-
export type FontSizeClassKey = ResponsiveBreakpointClassKey
|
|
143
|
-
/** Vertical padding theme class keys
|
|
144
|
-
export type PyClassKey = ResponsiveBreakpointClassKey
|
|
145
|
-
/** Gap theme class keys
|
|
146
|
-
export type GapClassKey = ResponsiveBreakpointClassKey
|
|
147
|
-
/** Horizontal padding theme class
|
|
148
|
-
export type PxClassKey = ResponsiveBreakpointClassKey
|
|
140
|
+
/** Responsive theme class keys - breakpoint classes apply CSS properties directly */
|
|
141
|
+
/** Font size theme class keys */
|
|
142
|
+
export type FontSizeClassKey = ResponsiveBreakpointClassKey;
|
|
143
|
+
/** Vertical padding theme class keys */
|
|
144
|
+
export type PyClassKey = ResponsiveBreakpointClassKey;
|
|
145
|
+
/** Gap theme class keys */
|
|
146
|
+
export type GapClassKey = ResponsiveBreakpointClassKey;
|
|
147
|
+
/** Horizontal padding theme class keys */
|
|
148
|
+
export type PxClassKey = ResponsiveBreakpointClassKey;
|
|
149
149
|
/** Left padding theme class key */
|
|
150
150
|
export type PlClassKey = 'pl';
|
|
151
151
|
/** Line height theme class key */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/props/keys.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,eAAO,MAAM,WAAW,kFAAmF,CAAC;AAC5G,6DAA6D;AAC7D,eAAO,MAAM,WAAW,sDAAuD,CAAC;AAChF,sDAAsD;AACtD,eAAO,MAAM,OAAO,sBAAuB,CAAC;AAC5C,kEAAkE;AAClE,eAAO,MAAM,UAAU,yBAA0B,CAAC;AAClD,0EAA0E;AAC1E,eAAO,MAAM,WAAW,yBAA0B,CAAC;AACnD,8CAA8C;AAC9C,eAAO,MAAM,MAAM,qBAAsB,CAAC;AAC1C,+DAA+D;AAC/D,eAAO,MAAM,iBAAiB,6CAA8C,CAAC;AAC7E,8FAA8F;AAC9F,eAAO,MAAM,wBAAwB,6BAA8B,CAAC;AACpE,6DAA6D;AAC7D,eAAO,MAAM,KAAK,oBAAqB,CAAC;AACxC,uEAAuE;AACvE,eAAO,MAAM,gBAAgB,oGAAqG,CAAC;AACnI,uEAAuE;AACvE,eAAO,MAAM,UAAU,wBAAyB,CAAC;AACjD,0DAA0D;AAC1D,eAAO,MAAM,OAAO,sBAAuB,CAAC;AAE5C,2DAA2D;AAC3D,eAAO,MAAM,wBAAwB,0U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* Auto-generated prop descriptions from JSDoc comments.
|
|
3
3
|
* DO NOT EDIT MANUALLY - Run 'npm run props:generate' to regenerate.
|
|
4
4
|
*
|
|
5
|
-
* Generated on: 2026-01-
|
|
5
|
+
* Generated on: 2026-01-06T19:25:25.090Z
|
|
6
6
|
*/
|
|
7
7
|
export interface PropDescription {
|
|
8
8
|
description: string;
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { BaseTheme } from "../common/baseTheme";
|
|
2
2
|
import type { CategoryProps, FontSizeClassKey } from "../../props";
|
|
3
3
|
/**
|
|
4
|
-
* Font size theme -
|
|
5
|
-
* CSS
|
|
6
|
-
* The formula --fs = --fs-unit * --fs-base is computed once in CSS.
|
|
4
|
+
* Font size theme - applies text size using pre-computed breakpoint variables.
|
|
5
|
+
* CSS computes --fs-desktop/tablet/mobile from --fs-unit (with fallbacks for responsive overrides).
|
|
7
6
|
*/
|
|
8
7
|
export declare class FontSizeTheme extends BaseTheme implements Record<FontSizeClassKey, string> {
|
|
9
|
-
/** Desktop
|
|
8
|
+
/** Desktop: apply font size using --fs-desktop */
|
|
10
9
|
desktop: string;
|
|
11
|
-
/** Tablet
|
|
10
|
+
/** Tablet: apply font size using --fs-tablet */
|
|
12
11
|
tablet: string;
|
|
13
|
-
/** Mobile
|
|
12
|
+
/** Mobile: apply font size using --fs-mobile */
|
|
14
13
|
mobile: string;
|
|
15
|
-
/** Consumer class */
|
|
16
|
-
fontSize: string;
|
|
17
14
|
getClasses(_extractedKeys: CategoryProps): string[];
|
|
18
15
|
}
|
|
19
16
|
//# sourceMappingURL=fontSizeTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fontSizeTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/fontSizeTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEnE
|
|
1
|
+
{"version":3,"file":"fontSizeTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/fontSizeTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEnE;;;GAGG;AACH,qBAAa,aAAc,SAAQ,SAAU,YAAW,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC;IACtF,kDAAkD;IAClD,OAAO,EAAE,MAAM,CAAgC;IAC/C,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAA0C;IACxD,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAA0C;IAExD,UAAU,CAAC,cAAc,EAAE,aAAa,GAAG,MAAM,EAAE;CAGpD"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { BaseTheme } from "../common/baseTheme";
|
|
2
2
|
import type { CategoryProps, GapClassKey } from "../../props";
|
|
3
3
|
/**
|
|
4
|
-
* Gap theme -
|
|
5
|
-
* CSS
|
|
6
|
-
* The formula --gap = --gap-unit * --spacing is computed once in CSS.
|
|
4
|
+
* Gap theme - applies gap using pre-computed breakpoint variables.
|
|
5
|
+
* CSS computes --gap-desktop/tablet/mobile from --gap-unit (with fallbacks for responsive overrides).
|
|
7
6
|
*/
|
|
8
7
|
export declare class GapTheme extends BaseTheme implements Record<GapClassKey, string> {
|
|
9
|
-
/** Desktop
|
|
8
|
+
/** Desktop: apply gap using --gap-desktop */
|
|
10
9
|
desktop: string;
|
|
11
|
-
/** Tablet
|
|
10
|
+
/** Tablet: apply gap using --gap-tablet */
|
|
12
11
|
tablet: string;
|
|
13
|
-
/** Mobile
|
|
12
|
+
/** Mobile: apply gap using --gap-mobile */
|
|
14
13
|
mobile: string;
|
|
15
|
-
/** Consumer class */
|
|
16
|
-
gap: string;
|
|
17
14
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
18
15
|
}
|
|
19
16
|
//# sourceMappingURL=gapTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gapTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/gapTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE9D
|
|
1
|
+
{"version":3,"file":"gapTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/gapTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE9D;;;GAGG;AACH,qBAAa,QAAS,SAAQ,SAAU,YAAW,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC;IAC5E,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAyB;IACxC,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAmC;IACjD,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAmC;IAEjD,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE;CAMnD"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { BaseTheme } from "../common/baseTheme";
|
|
2
2
|
import type { CategoryProps, PxClassKey } from "../../props";
|
|
3
3
|
/**
|
|
4
|
-
* Horizontal padding theme -
|
|
5
|
-
*
|
|
6
|
-
* Uses same --py-unit as PyTheme since px is derived from py.
|
|
4
|
+
* Horizontal padding theme - applies px using pre-computed breakpoint variables.
|
|
5
|
+
* CSS computes --px-desktop/tablet/mobile from --py-unit and --aspect-ratio.
|
|
7
6
|
*/
|
|
8
7
|
export declare class PxTheme extends BaseTheme implements Record<PxClassKey, string> {
|
|
9
|
-
/** Desktop
|
|
8
|
+
/** Desktop: apply horizontal padding using --px-desktop */
|
|
10
9
|
desktop: string;
|
|
11
|
-
/** Tablet
|
|
10
|
+
/** Tablet: apply horizontal padding using --px-tablet */
|
|
12
11
|
tablet: string;
|
|
13
|
-
/** Mobile
|
|
12
|
+
/** Mobile: apply horizontal padding using --px-mobile */
|
|
14
13
|
mobile: string;
|
|
15
|
-
/** Consumer class */
|
|
16
|
-
px: string;
|
|
17
14
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
18
15
|
}
|
|
19
16
|
//# sourceMappingURL=pxTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pxTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/pxTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE7D
|
|
1
|
+
{"version":3,"file":"pxTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/pxTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE7D;;;GAGG;AACH,qBAAa,OAAQ,SAAQ,SAAU,YAAW,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC;IAC1E,2DAA2D;IAC3D,OAAO,EAAE,MAAM,CAAuB;IACtC,yDAAyD;IACzD,MAAM,EAAE,MAAM,CAAiC;IAC/C,yDAAyD;IACzD,MAAM,EAAE,MAAM,CAAiC;IAE/C,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE;CAMnD"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { BaseTheme } from "../common/baseTheme";
|
|
2
2
|
import type { CategoryProps, PyClassKey } from "../../props";
|
|
3
3
|
/**
|
|
4
|
-
* Vertical padding theme -
|
|
5
|
-
* CSS
|
|
6
|
-
* The formula --py = --py-unit * --spacing is computed once in CSS.
|
|
4
|
+
* Vertical padding theme - applies py using pre-computed breakpoint variables.
|
|
5
|
+
* CSS computes --py-desktop/tablet/mobile from --py-unit (with fallbacks for responsive overrides).
|
|
7
6
|
*/
|
|
8
7
|
export declare class PyTheme extends BaseTheme implements Record<PyClassKey, string> {
|
|
9
|
-
/** Desktop
|
|
8
|
+
/** Desktop: apply vertical padding using --py-desktop */
|
|
10
9
|
desktop: string;
|
|
11
|
-
/** Tablet
|
|
10
|
+
/** Tablet: apply vertical padding using --py-tablet */
|
|
12
11
|
tablet: string;
|
|
13
|
-
/** Mobile
|
|
12
|
+
/** Mobile: apply vertical padding using --py-mobile */
|
|
14
13
|
mobile: string;
|
|
15
|
-
/** Consumer class */
|
|
16
|
-
py: string;
|
|
17
14
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
18
15
|
}
|
|
19
16
|
//# sourceMappingURL=pyTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pyTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/pyTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE7D
|
|
1
|
+
{"version":3,"file":"pyTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/theme/size/pyTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE7D;;;GAGG;AACH,qBAAa,OAAQ,SAAQ,SAAU,YAAW,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC;IAC1E,yDAAyD;IACzD,OAAO,EAAE,MAAM,CAAuB;IACtC,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAiC;IAC/C,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAiC;IAE/C,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE;CAMnD"}
|
package/dist/index.esm.js
CHANGED
|
@@ -225,7 +225,7 @@ const ComponentCategories = {
|
|
|
225
225
|
* Auto-generated prop descriptions from JSDoc comments.
|
|
226
226
|
* DO NOT EDIT MANUALLY - Run 'npm run props:generate' to regenerate.
|
|
227
227
|
*
|
|
228
|
-
* Generated on: 2026-01-
|
|
228
|
+
* Generated on: 2026-01-06T19:25:25.090Z
|
|
229
229
|
*/
|
|
230
230
|
const PropDescriptions = {
|
|
231
231
|
"appearance": {
|
|
@@ -3895,24 +3895,21 @@ class ComponentTheme {
|
|
|
3895
3895
|
}
|
|
3896
3896
|
|
|
3897
3897
|
/**
|
|
3898
|
-
* Font size theme -
|
|
3899
|
-
* CSS
|
|
3900
|
-
* The formula --fs = --fs-unit * --fs-base is computed once in CSS.
|
|
3898
|
+
* Font size theme - applies text size using pre-computed breakpoint variables.
|
|
3899
|
+
* CSS computes --fs-desktop/tablet/mobile from --fs-unit (with fallbacks for responsive overrides).
|
|
3901
3900
|
*/
|
|
3902
3901
|
class FontSizeTheme extends BaseTheme {
|
|
3903
3902
|
constructor() {
|
|
3904
3903
|
super(...arguments);
|
|
3905
|
-
/** Desktop
|
|
3906
|
-
this.desktop = "
|
|
3907
|
-
/** Tablet
|
|
3908
|
-
this.tablet = "max-tablet:
|
|
3909
|
-
/** Mobile
|
|
3910
|
-
this.mobile = "max-mobile:
|
|
3911
|
-
/** Consumer class */
|
|
3912
|
-
this.fontSize = "text-(length:--fs)";
|
|
3904
|
+
/** Desktop: apply font size using --fs-desktop */
|
|
3905
|
+
this.desktop = "text-(length:--fs-desktop)";
|
|
3906
|
+
/** Tablet: apply font size using --fs-tablet */
|
|
3907
|
+
this.tablet = "max-tablet:text-(length:--fs-tablet)";
|
|
3908
|
+
/** Mobile: apply font size using --fs-mobile */
|
|
3909
|
+
this.mobile = "max-mobile:text-(length:--fs-mobile)";
|
|
3913
3910
|
}
|
|
3914
3911
|
getClasses(_extractedKeys) {
|
|
3915
|
-
return [this.desktop, this.tablet, this.mobile
|
|
3912
|
+
return [this.desktop, this.tablet, this.mobile];
|
|
3916
3913
|
}
|
|
3917
3914
|
}
|
|
3918
3915
|
|
|
@@ -3933,25 +3930,22 @@ class LineHeightTheme extends BaseTheme {
|
|
|
3933
3930
|
}
|
|
3934
3931
|
|
|
3935
3932
|
/**
|
|
3936
|
-
* Gap theme -
|
|
3937
|
-
* CSS
|
|
3938
|
-
* The formula --gap = --gap-unit * --spacing is computed once in CSS.
|
|
3933
|
+
* Gap theme - applies gap using pre-computed breakpoint variables.
|
|
3934
|
+
* CSS computes --gap-desktop/tablet/mobile from --gap-unit (with fallbacks for responsive overrides).
|
|
3939
3935
|
*/
|
|
3940
3936
|
class GapTheme extends BaseTheme {
|
|
3941
3937
|
constructor() {
|
|
3942
3938
|
super(...arguments);
|
|
3943
|
-
/** Desktop
|
|
3944
|
-
this.desktop = "
|
|
3945
|
-
/** Tablet
|
|
3946
|
-
this.tablet = "max-tablet:
|
|
3947
|
-
/** Mobile
|
|
3948
|
-
this.mobile = "max-mobile:
|
|
3949
|
-
/** Consumer class */
|
|
3950
|
-
this.gap = "gap-(--gap)";
|
|
3939
|
+
/** Desktop: apply gap using --gap-desktop */
|
|
3940
|
+
this.desktop = "gap-(--gap-desktop)";
|
|
3941
|
+
/** Tablet: apply gap using --gap-tablet */
|
|
3942
|
+
this.tablet = "max-tablet:gap-(--gap-tablet)";
|
|
3943
|
+
/** Mobile: apply gap using --gap-mobile */
|
|
3944
|
+
this.mobile = "max-mobile:gap-(--gap-mobile)";
|
|
3951
3945
|
}
|
|
3952
3946
|
getClasses(extractedKeys) {
|
|
3953
3947
|
if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.gap) === 'gap') {
|
|
3954
|
-
return [this.desktop, this.tablet, this.mobile
|
|
3948
|
+
return [this.desktop, this.tablet, this.mobile];
|
|
3955
3949
|
}
|
|
3956
3950
|
return [];
|
|
3957
3951
|
}
|
|
@@ -4069,52 +4063,44 @@ class FocusVisibleTheme extends BaseTheme {
|
|
|
4069
4063
|
}
|
|
4070
4064
|
|
|
4071
4065
|
/**
|
|
4072
|
-
* Horizontal padding theme -
|
|
4073
|
-
*
|
|
4074
|
-
* Uses same --py-unit as PyTheme since px is derived from py.
|
|
4066
|
+
* Horizontal padding theme - applies px using pre-computed breakpoint variables.
|
|
4067
|
+
* CSS computes --px-desktop/tablet/mobile from --py-unit and --aspect-ratio.
|
|
4075
4068
|
*/
|
|
4076
4069
|
class PxTheme extends BaseTheme {
|
|
4077
4070
|
constructor() {
|
|
4078
4071
|
super(...arguments);
|
|
4079
|
-
/** Desktop
|
|
4080
|
-
this.desktop = "
|
|
4081
|
-
/** Tablet
|
|
4082
|
-
this.tablet = "max-tablet:
|
|
4083
|
-
/** Mobile
|
|
4084
|
-
this.mobile = "max-mobile:
|
|
4085
|
-
/** Consumer class */
|
|
4086
|
-
this.px = "px-(--px)";
|
|
4072
|
+
/** Desktop: apply horizontal padding using --px-desktop */
|
|
4073
|
+
this.desktop = "px-(--px-desktop)";
|
|
4074
|
+
/** Tablet: apply horizontal padding using --px-tablet */
|
|
4075
|
+
this.tablet = "max-tablet:px-(--px-tablet)";
|
|
4076
|
+
/** Mobile: apply horizontal padding using --px-mobile */
|
|
4077
|
+
this.mobile = "max-mobile:px-(--px-mobile)";
|
|
4087
4078
|
}
|
|
4088
4079
|
getClasses(extractedKeys) {
|
|
4089
4080
|
if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.padding) === 'padding' || (extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.padding) === undefined) {
|
|
4090
|
-
|
|
4091
|
-
// in case px is used without py. twMerge will dedupe if both are used.
|
|
4092
|
-
return [this.desktop, this.tablet, this.mobile, this.px];
|
|
4081
|
+
return [this.desktop, this.tablet, this.mobile];
|
|
4093
4082
|
}
|
|
4094
4083
|
return [];
|
|
4095
4084
|
}
|
|
4096
4085
|
}
|
|
4097
4086
|
|
|
4098
4087
|
/**
|
|
4099
|
-
* Vertical padding theme -
|
|
4100
|
-
* CSS
|
|
4101
|
-
* The formula --py = --py-unit * --spacing is computed once in CSS.
|
|
4088
|
+
* Vertical padding theme - applies py using pre-computed breakpoint variables.
|
|
4089
|
+
* CSS computes --py-desktop/tablet/mobile from --py-unit (with fallbacks for responsive overrides).
|
|
4102
4090
|
*/
|
|
4103
4091
|
class PyTheme extends BaseTheme {
|
|
4104
4092
|
constructor() {
|
|
4105
4093
|
super(...arguments);
|
|
4106
|
-
/** Desktop
|
|
4107
|
-
this.desktop = "
|
|
4108
|
-
/** Tablet
|
|
4109
|
-
this.tablet = "max-tablet:
|
|
4110
|
-
/** Mobile
|
|
4111
|
-
this.mobile = "max-mobile:
|
|
4112
|
-
/** Consumer class */
|
|
4113
|
-
this.py = "py-(--py)";
|
|
4094
|
+
/** Desktop: apply vertical padding using --py-desktop */
|
|
4095
|
+
this.desktop = "py-(--py-desktop)";
|
|
4096
|
+
/** Tablet: apply vertical padding using --py-tablet */
|
|
4097
|
+
this.tablet = "max-tablet:py-(--py-tablet)";
|
|
4098
|
+
/** Mobile: apply vertical padding using --py-mobile */
|
|
4099
|
+
this.mobile = "max-mobile:py-(--py-mobile)";
|
|
4114
4100
|
}
|
|
4115
4101
|
getClasses(extractedKeys) {
|
|
4116
4102
|
if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.padding) === 'padding' || (extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.padding) === undefined) {
|
|
4117
|
-
return [this.desktop, this.tablet, this.mobile
|
|
4103
|
+
return [this.desktop, this.tablet, this.mobile];
|
|
4118
4104
|
}
|
|
4119
4105
|
return [];
|
|
4120
4106
|
}
|