@cloud-ru/ds-uikit-product-toggles-predefined 1.0.13 → 1.0.14-preview-a2208aeb.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.
@@ -15,7 +15,7 @@ export function sizeToEmblemSize(size: Size): IconSize {
15
15
  return ICON_SIZE['5XL'];
16
16
  case SIZE.M:
17
17
  default:
18
- return ICON_SIZE.L;
18
+ return ICON_SIZE.M;
19
19
  }
20
20
  }
21
21
 
package/src/types.ts CHANGED
@@ -32,6 +32,7 @@ export type ToggleCardProps = WithSupportProps<{
32
32
  /**
33
33
  * Ведущая эмблема. Передаются только параметры — сам `IconPredefined`
34
34
  * встроен в компонент; `size` эмблемы выводится из `size` карточки.
35
+ * По умолчанию `background: true` и `shape: 'squared'`, как в макете.
35
36
  */
36
37
  emblem?: Emblem;
37
38
  /** Промо-бейдж в правом верхнем углу карточки */