@xsolla/xui-core 0.202.3 → 0.202.4

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 CHANGED
@@ -8506,6 +8506,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
8506
8506
  };
8507
8507
  contextMenu: (size: "xl" | "lg" | "md" | "sm") => {
8508
8508
  paddingVertical: number;
8509
+ paddingHorizontal: number;
8509
8510
  itemPaddingHorizontal: number;
8510
8511
  itemPaddingVertical: number;
8511
8512
  fontSize: number;
@@ -8527,6 +8528,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
8527
8528
  searchIconSize: number;
8528
8529
  } | {
8529
8530
  paddingVertical: number;
8531
+ paddingHorizontal: number;
8530
8532
  itemPaddingHorizontal: number;
8531
8533
  itemPaddingVertical: number;
8532
8534
  fontSize: number;
@@ -8548,6 +8550,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
8548
8550
  searchIconSize: number;
8549
8551
  } | {
8550
8552
  paddingVertical: number;
8553
+ paddingHorizontal: number;
8551
8554
  itemPaddingHorizontal: number;
8552
8555
  itemPaddingVertical: number;
8553
8556
  fontSize: number;
@@ -8569,6 +8572,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
8569
8572
  searchIconSize: number;
8570
8573
  } | {
8571
8574
  paddingVertical: number;
8575
+ paddingHorizontal: number;
8572
8576
  itemPaddingHorizontal: number;
8573
8577
  itemPaddingVertical: number;
8574
8578
  fontSize: number;
package/index.d.ts CHANGED
@@ -8506,6 +8506,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
8506
8506
  };
8507
8507
  contextMenu: (size: "xl" | "lg" | "md" | "sm") => {
8508
8508
  paddingVertical: number;
8509
+ paddingHorizontal: number;
8509
8510
  itemPaddingHorizontal: number;
8510
8511
  itemPaddingVertical: number;
8511
8512
  fontSize: number;
@@ -8527,6 +8528,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
8527
8528
  searchIconSize: number;
8528
8529
  } | {
8529
8530
  paddingVertical: number;
8531
+ paddingHorizontal: number;
8530
8532
  itemPaddingHorizontal: number;
8531
8533
  itemPaddingVertical: number;
8532
8534
  fontSize: number;
@@ -8548,6 +8550,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
8548
8550
  searchIconSize: number;
8549
8551
  } | {
8550
8552
  paddingVertical: number;
8553
+ paddingHorizontal: number;
8551
8554
  itemPaddingHorizontal: number;
8552
8555
  itemPaddingVertical: number;
8553
8556
  fontSize: number;
@@ -8569,6 +8572,7 @@ declare const themeConfig: (mode?: ThemeMode, productContext?: ProductContext) =
8569
8572
  searchIconSize: number;
8570
8573
  } | {
8571
8574
  paddingVertical: number;
8575
+ paddingHorizontal: number;
8572
8576
  itemPaddingHorizontal: number;
8573
8577
  itemPaddingVertical: number;
8574
8578
  fontSize: number;
package/index.js CHANGED
@@ -4751,7 +4751,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
4751
4751
  contextMenu: (size) => {
4752
4752
  const configs = {
4753
4753
  xl: {
4754
- paddingVertical: 0,
4754
+ paddingVertical: 8,
4755
+ paddingHorizontal: 8,
4755
4756
  itemPaddingHorizontal: 16,
4756
4757
  itemPaddingVertical: 18,
4757
4758
  fontSize: 20,
@@ -4774,7 +4775,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
4774
4775
  searchIconSize: 18
4775
4776
  },
4776
4777
  lg: {
4777
- paddingVertical: 0,
4778
+ paddingVertical: 8,
4779
+ paddingHorizontal: 8,
4778
4780
  itemPaddingHorizontal: 14,
4779
4781
  itemPaddingVertical: 14,
4780
4782
  fontSize: 18,
@@ -4797,7 +4799,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
4797
4799
  searchIconSize: 18
4798
4800
  },
4799
4801
  md: {
4800
- paddingVertical: 0,
4802
+ paddingVertical: 8,
4803
+ paddingHorizontal: 8,
4801
4804
  itemPaddingHorizontal: 12,
4802
4805
  itemPaddingVertical: 11,
4803
4806
  fontSize: 16,
@@ -4820,7 +4823,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
4820
4823
  searchIconSize: 18
4821
4824
  },
4822
4825
  sm: {
4823
- paddingVertical: 0,
4826
+ paddingVertical: 8,
4827
+ paddingHorizontal: 8,
4824
4828
  itemPaddingHorizontal: 10,
4825
4829
  itemPaddingVertical: 8,
4826
4830
  fontSize: 14,