@xsolla/xui-core 0.226.0 → 0.228.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.mjs CHANGED
@@ -4480,7 +4480,8 @@ var switchSizing = (size) => {
4480
4480
  xl: {
4481
4481
  width: 40,
4482
4482
  height: 22,
4483
- knobSize: 18,
4483
+ knobSize: 14,
4484
+ paddingHorizontal: 4,
4484
4485
  fontSize: 20,
4485
4486
  lineHeight: 22,
4486
4487
  descriptionFontSize: 18,
@@ -4493,7 +4494,8 @@ var switchSizing = (size) => {
4493
4494
  lg: {
4494
4495
  width: 36,
4495
4496
  height: 20,
4496
- knobSize: 16,
4497
+ knobSize: 13,
4498
+ paddingHorizontal: 2,
4497
4499
  fontSize: 18,
4498
4500
  lineHeight: 20,
4499
4501
  descriptionFontSize: 16,
@@ -4506,7 +4508,8 @@ var switchSizing = (size) => {
4506
4508
  md: {
4507
4509
  width: 32,
4508
4510
  height: 18,
4509
- knobSize: 14,
4511
+ knobSize: 12,
4512
+ paddingHorizontal: 3,
4510
4513
  fontSize: 16,
4511
4514
  lineHeight: 18,
4512
4515
  descriptionFontSize: 14,
@@ -4519,7 +4522,8 @@ var switchSizing = (size) => {
4519
4522
  sm: {
4520
4523
  width: 28,
4521
4524
  height: 16,
4522
- knobSize: 12,
4525
+ knobSize: 10,
4526
+ paddingHorizontal: 3,
4523
4527
  fontSize: 14,
4524
4528
  lineHeight: 16,
4525
4529
  descriptionFontSize: 12,