@xsolla/xui-core 0.225.0 → 0.227.0
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/index.d.mts +4 -0
- package/index.d.ts +4 -0
- package/index.js +8 -4
- package/index.js.map +1 -1
- package/index.mjs +8 -4
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -4008,6 +4008,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
4008
4008
|
width: number;
|
|
4009
4009
|
height: number;
|
|
4010
4010
|
knobSize: number;
|
|
4011
|
+
paddingHorizontal: number;
|
|
4011
4012
|
fontSize: number;
|
|
4012
4013
|
lineHeight: number;
|
|
4013
4014
|
descriptionFontSize: number;
|
|
@@ -4020,6 +4021,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
4020
4021
|
width: number;
|
|
4021
4022
|
height: number;
|
|
4022
4023
|
knobSize: number;
|
|
4024
|
+
paddingHorizontal: number;
|
|
4023
4025
|
fontSize: number;
|
|
4024
4026
|
lineHeight: number;
|
|
4025
4027
|
descriptionFontSize: number;
|
|
@@ -4032,6 +4034,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
4032
4034
|
width: number;
|
|
4033
4035
|
height: number;
|
|
4034
4036
|
knobSize: number;
|
|
4037
|
+
paddingHorizontal: number;
|
|
4035
4038
|
fontSize: number;
|
|
4036
4039
|
lineHeight: number;
|
|
4037
4040
|
descriptionFontSize: number;
|
|
@@ -4044,6 +4047,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
4044
4047
|
width: number;
|
|
4045
4048
|
height: number;
|
|
4046
4049
|
knobSize: number;
|
|
4050
|
+
paddingHorizontal: number;
|
|
4047
4051
|
fontSize: number;
|
|
4048
4052
|
lineHeight: number;
|
|
4049
4053
|
descriptionFontSize: number;
|
package/index.d.ts
CHANGED
|
@@ -4008,6 +4008,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
4008
4008
|
width: number;
|
|
4009
4009
|
height: number;
|
|
4010
4010
|
knobSize: number;
|
|
4011
|
+
paddingHorizontal: number;
|
|
4011
4012
|
fontSize: number;
|
|
4012
4013
|
lineHeight: number;
|
|
4013
4014
|
descriptionFontSize: number;
|
|
@@ -4020,6 +4021,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
4020
4021
|
width: number;
|
|
4021
4022
|
height: number;
|
|
4022
4023
|
knobSize: number;
|
|
4024
|
+
paddingHorizontal: number;
|
|
4023
4025
|
fontSize: number;
|
|
4024
4026
|
lineHeight: number;
|
|
4025
4027
|
descriptionFontSize: number;
|
|
@@ -4032,6 +4034,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
4032
4034
|
width: number;
|
|
4033
4035
|
height: number;
|
|
4034
4036
|
knobSize: number;
|
|
4037
|
+
paddingHorizontal: number;
|
|
4035
4038
|
fontSize: number;
|
|
4036
4039
|
lineHeight: number;
|
|
4037
4040
|
descriptionFontSize: number;
|
|
@@ -4044,6 +4047,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
4044
4047
|
width: number;
|
|
4045
4048
|
height: number;
|
|
4046
4049
|
knobSize: number;
|
|
4050
|
+
paddingHorizontal: number;
|
|
4047
4051
|
fontSize: number;
|
|
4048
4052
|
lineHeight: number;
|
|
4049
4053
|
descriptionFontSize: number;
|
package/index.js
CHANGED
|
@@ -4566,7 +4566,8 @@ var switchSizing = (size) => {
|
|
|
4566
4566
|
xl: {
|
|
4567
4567
|
width: 40,
|
|
4568
4568
|
height: 22,
|
|
4569
|
-
knobSize:
|
|
4569
|
+
knobSize: 14,
|
|
4570
|
+
paddingHorizontal: 4,
|
|
4570
4571
|
fontSize: 20,
|
|
4571
4572
|
lineHeight: 22,
|
|
4572
4573
|
descriptionFontSize: 18,
|
|
@@ -4579,7 +4580,8 @@ var switchSizing = (size) => {
|
|
|
4579
4580
|
lg: {
|
|
4580
4581
|
width: 36,
|
|
4581
4582
|
height: 20,
|
|
4582
|
-
knobSize:
|
|
4583
|
+
knobSize: 13,
|
|
4584
|
+
paddingHorizontal: 2,
|
|
4583
4585
|
fontSize: 18,
|
|
4584
4586
|
lineHeight: 20,
|
|
4585
4587
|
descriptionFontSize: 16,
|
|
@@ -4592,7 +4594,8 @@ var switchSizing = (size) => {
|
|
|
4592
4594
|
md: {
|
|
4593
4595
|
width: 32,
|
|
4594
4596
|
height: 18,
|
|
4595
|
-
knobSize:
|
|
4597
|
+
knobSize: 12,
|
|
4598
|
+
paddingHorizontal: 3,
|
|
4596
4599
|
fontSize: 16,
|
|
4597
4600
|
lineHeight: 18,
|
|
4598
4601
|
descriptionFontSize: 14,
|
|
@@ -4605,7 +4608,8 @@ var switchSizing = (size) => {
|
|
|
4605
4608
|
sm: {
|
|
4606
4609
|
width: 28,
|
|
4607
4610
|
height: 16,
|
|
4608
|
-
knobSize:
|
|
4611
|
+
knobSize: 10,
|
|
4612
|
+
paddingHorizontal: 3,
|
|
4609
4613
|
fontSize: 14,
|
|
4610
4614
|
lineHeight: 16,
|
|
4611
4615
|
descriptionFontSize: 12,
|