@xsolla/xui-core 0.170.1 → 0.170.2-pr332.1781049986
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 +6 -6
- package/index.d.ts +6 -6
- package/index.js +17 -17
- package/index.js.map +1 -1
- package/index.mjs +17 -17
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -6578,10 +6578,10 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
6578
6578
|
triggerPadding: number;
|
|
6579
6579
|
triggerGap: number;
|
|
6580
6580
|
triggerMinHeight: number;
|
|
6581
|
-
surfaceRadius:
|
|
6582
|
-
cellRadius:
|
|
6581
|
+
surfaceRadius: 4;
|
|
6582
|
+
cellRadius: 8;
|
|
6583
6583
|
iconSlotSize: number;
|
|
6584
|
-
iconSlotRadius:
|
|
6584
|
+
iconSlotRadius: 4;
|
|
6585
6585
|
chevronSize: number;
|
|
6586
6586
|
trailingGap: number;
|
|
6587
6587
|
textGap: number;
|
|
@@ -9874,10 +9874,10 @@ declare const useResolvedTheme: (overrides?: ThemeOverrideProps) => {
|
|
|
9874
9874
|
triggerPadding: number;
|
|
9875
9875
|
triggerGap: number;
|
|
9876
9876
|
triggerMinHeight: number;
|
|
9877
|
-
surfaceRadius:
|
|
9878
|
-
cellRadius:
|
|
9877
|
+
surfaceRadius: 4;
|
|
9878
|
+
cellRadius: 8;
|
|
9879
9879
|
iconSlotSize: number;
|
|
9880
|
-
iconSlotRadius:
|
|
9880
|
+
iconSlotRadius: 4;
|
|
9881
9881
|
chevronSize: number;
|
|
9882
9882
|
trailingGap: number;
|
|
9883
9883
|
textGap: number;
|
package/index.d.ts
CHANGED
|
@@ -6578,10 +6578,10 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
|
|
|
6578
6578
|
triggerPadding: number;
|
|
6579
6579
|
triggerGap: number;
|
|
6580
6580
|
triggerMinHeight: number;
|
|
6581
|
-
surfaceRadius:
|
|
6582
|
-
cellRadius:
|
|
6581
|
+
surfaceRadius: 4;
|
|
6582
|
+
cellRadius: 8;
|
|
6583
6583
|
iconSlotSize: number;
|
|
6584
|
-
iconSlotRadius:
|
|
6584
|
+
iconSlotRadius: 4;
|
|
6585
6585
|
chevronSize: number;
|
|
6586
6586
|
trailingGap: number;
|
|
6587
6587
|
textGap: number;
|
|
@@ -9874,10 +9874,10 @@ declare const useResolvedTheme: (overrides?: ThemeOverrideProps) => {
|
|
|
9874
9874
|
triggerPadding: number;
|
|
9875
9875
|
triggerGap: number;
|
|
9876
9876
|
triggerMinHeight: number;
|
|
9877
|
-
surfaceRadius:
|
|
9878
|
-
cellRadius:
|
|
9877
|
+
surfaceRadius: 4;
|
|
9878
|
+
cellRadius: 8;
|
|
9879
9879
|
iconSlotSize: number;
|
|
9880
|
-
iconSlotRadius:
|
|
9880
|
+
iconSlotRadius: 4;
|
|
9881
9881
|
chevronSize: number;
|
|
9882
9882
|
trailingGap: number;
|
|
9883
9883
|
textGap: number;
|
package/index.js
CHANGED
|
@@ -3790,10 +3790,10 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3790
3790
|
triggerPadding: 16,
|
|
3791
3791
|
triggerGap: 12,
|
|
3792
3792
|
triggerMinHeight: 56,
|
|
3793
|
-
surfaceRadius:
|
|
3794
|
-
cellRadius:
|
|
3793
|
+
surfaceRadius: radiusScale["50"],
|
|
3794
|
+
cellRadius: radiusScale["100"],
|
|
3795
3795
|
iconSlotSize: 32,
|
|
3796
|
-
iconSlotRadius:
|
|
3796
|
+
iconSlotRadius: radiusScale["50"],
|
|
3797
3797
|
chevronSize: 24,
|
|
3798
3798
|
trailingGap: 8,
|
|
3799
3799
|
textGap: 2,
|
|
@@ -3825,51 +3825,51 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3825
3825
|
const configs = {
|
|
3826
3826
|
xl: {
|
|
3827
3827
|
height: 64,
|
|
3828
|
-
paddingHorizontal:
|
|
3828
|
+
paddingHorizontal: 21,
|
|
3829
3829
|
fontSize: 20,
|
|
3830
3830
|
lineHeight: 22,
|
|
3831
|
-
iconSize:
|
|
3831
|
+
iconSize: 22,
|
|
3832
3832
|
gap: 6,
|
|
3833
3833
|
borderRadius: shape.toggleButtonGroup.xl.borderRadius,
|
|
3834
3834
|
itemGap: 8
|
|
3835
3835
|
},
|
|
3836
3836
|
lg: {
|
|
3837
3837
|
height: 56,
|
|
3838
|
-
paddingHorizontal:
|
|
3838
|
+
paddingHorizontal: 18,
|
|
3839
3839
|
fontSize: 18,
|
|
3840
3840
|
lineHeight: 20,
|
|
3841
|
-
iconSize:
|
|
3841
|
+
iconSize: 20,
|
|
3842
3842
|
gap: 4,
|
|
3843
3843
|
borderRadius: shape.toggleButtonGroup.lg.borderRadius,
|
|
3844
3844
|
itemGap: 8
|
|
3845
3845
|
},
|
|
3846
3846
|
md: {
|
|
3847
3847
|
height: 48,
|
|
3848
|
-
paddingHorizontal:
|
|
3848
|
+
paddingHorizontal: 15,
|
|
3849
3849
|
fontSize: 16,
|
|
3850
3850
|
lineHeight: 18,
|
|
3851
|
-
iconSize:
|
|
3851
|
+
iconSize: 18,
|
|
3852
3852
|
gap: 4,
|
|
3853
3853
|
borderRadius: shape.toggleButtonGroup.md.borderRadius,
|
|
3854
|
-
itemGap:
|
|
3854
|
+
itemGap: 6
|
|
3855
3855
|
},
|
|
3856
3856
|
sm: {
|
|
3857
3857
|
height: 40,
|
|
3858
3858
|
paddingHorizontal: 12,
|
|
3859
3859
|
fontSize: 14,
|
|
3860
3860
|
lineHeight: 16,
|
|
3861
|
-
iconSize:
|
|
3862
|
-
gap:
|
|
3861
|
+
iconSize: 16,
|
|
3862
|
+
gap: 4,
|
|
3863
3863
|
borderRadius: shape.toggleButtonGroup.sm.borderRadius,
|
|
3864
3864
|
itemGap: 4
|
|
3865
3865
|
},
|
|
3866
3866
|
xs: {
|
|
3867
3867
|
height: 32,
|
|
3868
|
-
paddingHorizontal:
|
|
3869
|
-
fontSize:
|
|
3870
|
-
lineHeight:
|
|
3871
|
-
iconSize:
|
|
3872
|
-
gap:
|
|
3868
|
+
paddingHorizontal: 9,
|
|
3869
|
+
fontSize: 12,
|
|
3870
|
+
lineHeight: 14,
|
|
3871
|
+
iconSize: 14,
|
|
3872
|
+
gap: 4,
|
|
3873
3873
|
borderRadius: shape.toggleButtonGroup.xs.borderRadius,
|
|
3874
3874
|
itemGap: 4
|
|
3875
3875
|
}
|