@xsolla/xui-core 0.171.2 → 0.171.3

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.mjs CHANGED
@@ -2483,70 +2483,65 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
2483
2483
  height: 64,
2484
2484
  padding: 20,
2485
2485
  fontSize: 20,
2486
+ lineHeight: 22,
2486
2487
  sublabelFontSize: 18,
2487
2488
  spinnerSize: 24,
2488
2489
  iconSize: 32,
2489
2490
  iconContainerSize: 64,
2490
- iconPadding: 20,
2491
- loadingPadding: 40,
2492
2491
  borderRadius: shape.button.xl.borderRadius,
2493
- labelIconSize: 18,
2492
+ labelIconSize: 22,
2494
2493
  labelIconGap: 6
2495
2494
  },
2496
2495
  lg: {
2497
2496
  height: 56,
2498
- padding: 20,
2497
+ padding: 18,
2499
2498
  fontSize: 18,
2499
+ lineHeight: 20,
2500
2500
  sublabelFontSize: 16,
2501
2501
  spinnerSize: 24,
2502
2502
  iconSize: 28,
2503
2503
  iconContainerSize: 56,
2504
- iconPadding: 20,
2505
- loadingPadding: 36,
2506
2504
  borderRadius: shape.button.lg.borderRadius,
2507
- labelIconSize: 16,
2508
- labelIconGap: 6
2505
+ labelIconSize: 20,
2506
+ labelIconGap: 4
2509
2507
  },
2510
2508
  md: {
2511
2509
  height: 48,
2512
- padding: 20,
2510
+ padding: 16,
2513
2511
  fontSize: 16,
2512
+ lineHeight: 18,
2514
2513
  sublabelFontSize: 14,
2515
- spinnerSize: 20,
2514
+ spinnerSize: 24,
2516
2515
  iconSize: 24,
2517
2516
  iconContainerSize: 48,
2518
- iconPadding: 20,
2519
- loadingPadding: 32,
2520
2517
  borderRadius: shape.button.md.borderRadius,
2521
- labelIconSize: 14,
2518
+ labelIconSize: 18,
2522
2519
  labelIconGap: 4
2523
2520
  },
2524
2521
  sm: {
2525
2522
  height: 40,
2526
- padding: 20,
2523
+ padding: 14,
2527
2524
  fontSize: 14,
2525
+ lineHeight: 16,
2528
2526
  sublabelFontSize: 12,
2529
- spinnerSize: 16,
2527
+ spinnerSize: 24,
2530
2528
  iconSize: 20,
2531
2529
  iconContainerSize: 40,
2532
- iconPadding: 20,
2533
- loadingPadding: 28,
2534
2530
  borderRadius: shape.button.sm.borderRadius,
2535
- labelIconSize: 12,
2531
+ labelIconSize: 16,
2536
2532
  labelIconGap: 4
2537
2533
  },
2538
2534
  xs: {
2539
2535
  height: 32,
2540
- padding: 20,
2536
+ padding: 12,
2541
2537
  fontSize: 12,
2538
+ lineHeight: 14,
2542
2539
  sublabelFontSize: 10,
2543
2540
  spinnerSize: 16,
2544
2541
  iconSize: 16,
2545
2542
  iconContainerSize: 32,
2546
- iconPadding: 20,
2547
- loadingPadding: 28,
2548
2543
  borderRadius: shape.button.xs.borderRadius,
2549
- labelIconSize: 10,
2544
+ labelIconSize: 14,
2550
2545
  labelIconGap: 4
2551
2546
  }
2552
2547
  };