@cloud-ru/ds-uikit-product-header 2.0.4 → 2.0.6-preview-ac2c37a8.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 2.0.5 (2026-10-01)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **FF-9223:** breadcrumbs padding ([c1b2957](https://github.com/cloud-ru-tech/snack-v2/commit/c1b29572f80d28d4fbd676e70f80277a428221a9))
11
+
6
12
  ## 2.0.4 (2026-10-01)
7
13
 
8
14
  ### Bug Fixes
package/README.md CHANGED
@@ -339,7 +339,7 @@ function LocalMainMenu() {
339
339
  | Prop | Type | Default | Description |
340
340
  |------|------|---------|-------------|
341
341
  | `aliases` | `string[]` | — | Синонимы для fuzzy-поиска. |
342
- | `badge` | `CardServiceLightProps` \| `PromoTagPredefinedBaseProps` | — | Промо-тег карточки. |
342
+ | `badge` | `CardPromoTagProps` \| `PromoTagPredefinedBaseProps` | — | Промо-тег карточки. |
343
343
  | `description` | `string \| undefined` | — | Краткое описание сервиса — отображается при включённом переключателе «Описание». |
344
344
  | `disabled` | `boolean \| undefined` | — | Карточка недоступна для клика/drag и визуально приглушена. |
345
345
  | `favoritesEnabled` | `boolean \| undefined` | — | Разрешено ли добавление карточки в избранное. default=true - разрешено |
@@ -513,7 +513,7 @@ import { MainMenu, MenuMobile } from '@cloud-ru/ds-uikit-product-header';
513
513
  | Prop | Type | Default | Description |
514
514
  |------|------|---------|-------------|
515
515
  | `aliases` | `string[]` | — | Синонимы для fuzzy-поиска. |
516
- | `badge` | `CardServiceLightProps` \| `PromoTagPredefinedBaseProps` | — | Промо-тег карточки. |
516
+ | `badge` | `CardPromoTagProps` \| `PromoTagPredefinedBaseProps` | — | Промо-тег карточки. |
517
517
  | `description` | `string \| undefined` | — | Краткое описание сервиса — отображается при включённом переключателе «Описание». |
518
518
  | `disabled` | `boolean \| undefined` | — | Карточка недоступна для клика/drag и визуально приглушена. |
519
519
  | `favoritesEnabled` | `boolean \| undefined` | — | Разрешено ли добавление карточки в избранное. default=true - разрешено |
@@ -693,16 +693,16 @@ export function ControlledTheme() {
693
693
 
694
694
  | Prop | Type | Default | Description |
695
695
  |------|------|---------|-------------|
696
- | `bottomItems` | `BaseItemWithoutNonGroup` \| `CommonGroupItem` \| `DroplistProps` \| `ScrollProps` | — | Пункты перед «Выйти из аккаунта». На desktop закреплены снизу |
696
+ | `bottomItems` | `BaseItemWithoutNonGroup` \| `CommonGroupItem` \| `Item` \| `ScrollProps` | — | Пункты перед «Выйти из аккаунта». На desktop закреплены снизу |
697
697
  | `onClick` | `(() => void)` | — | Колбэк клика по кнопке-триггеру. |
698
698
  | `onLogout` | `(() => void)` | — | Колбэк клика по пункту «Выйти». |
699
699
  | `open` | `boolean` | — | Открыто ли меню. <br/> Не передано — состояние открытия неуправляемое (меню само переключает себя по клику на кнопку). |
700
- | `organizationItems` | `BaseItemWithoutNonGroup` \| `CommonGroupItem` \| `DroplistProps` \| `ScrollProps` | — | Список организаций. На desktop — единственная прокручиваемая часть меню |
700
+ | `organizationItems` | `BaseItemWithoutNonGroup` \| `CommonGroupItem` \| `Item` \| `ScrollProps` | — | Список организаций. На desktop — единственная прокручиваемая часть меню |
701
701
  | `profile` | `UserProfileProps` | `{}` | Профиль пользователя (имя, email, счётчик приглашений). |
702
702
  | `setOpen` | `((open: boolean) => void)` | — | Колбэк открытия/закрытия меню. |
703
703
  | `settingItems` | `BaseItemProps` | — | Пункты настроек в нижней части меню. |
704
704
  | `theme` | `ThemeProps` | — | Переключатель темы в меню. Без пропа не отображается. |
705
- | `topItems` | `BaseItemWithoutNonGroup` \| `CommonGroupItem` \| `DroplistProps` \| `ScrollProps` | — | Пункты после темы. На desktop закреплены сверху вместе с профилем и темой |
705
+ | `topItems` | `BaseItemWithoutNonGroup` \| `CommonGroupItem` \| `Item` \| `ScrollProps` | — | Пункты после темы. На desktop закреплены сверху вместе с профилем и темой |
706
706
  | `triggerTooltip` | `string` | — | Текст подсказки для кнопки-триггера. |
707
707
 
708
708
  ##### Related types
@@ -823,4 +823,4 @@ export function Basic() {
823
823
 
824
824
  | Prop | Type | Default | Description |
825
825
  |------|------|---------|-------------|
826
- | `items` | `BreadcrumbsProps` \| `Item` | — | Пункты хлебных крошек. |
826
+ | `items` | `Item` | — | Пункты хлебных крошек. |
@@ -1,13 +1,9 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.PathBreadcrumbs = PathBreadcrumbs;
7
4
  const jsx_runtime_1 = require("react/jsx-runtime");
8
5
  const breadcrumbs_1 = require("@cloud-ru/ds-breadcrumbs");
9
6
  const constants_1 = require("../../constants");
10
- const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
11
7
  function PathBreadcrumbs({ items }) {
12
- return ((0, jsx_runtime_1.jsx)(breadcrumbs_1.Breadcrumbs, { items: items, className: styles_module_scss_1.default.breadcrumbs, inactiveLastItem: items.length > 1, separator: '/', size: 'xs', "data-test-id": constants_1.TEST_IDS.breadcrumbs.root }));
8
+ return ((0, jsx_runtime_1.jsx)(breadcrumbs_1.Breadcrumbs, { items: items, inactiveLastItem: items.length > 1, separator: '/', size: 'xs', "data-test-id": constants_1.TEST_IDS.breadcrumbs.root }));
13
9
  }
@@ -928,14 +928,6 @@
928
928
  .staticCard{
929
929
  position:relative;
930
930
  }
931
- .breadcrumbs{
932
- display:flex;
933
- align-items:center;
934
- box-sizing:border-box;
935
- min-width:0;
936
- height:100%;
937
- padding:0 var(--sn-primitive-dimension-8, 8px) !important;
938
- }
939
931
  .container{
940
932
  display:flex;
941
933
  align-items:center;
@@ -1,7 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Breadcrumbs } from '@cloud-ru/ds-breadcrumbs';
3
3
  import { TEST_IDS } from '../../constants.js';
4
- import styles from './styles.module.css';
5
4
  export function PathBreadcrumbs({ items }) {
6
- return (_jsx(Breadcrumbs, { items: items, className: styles.breadcrumbs, inactiveLastItem: items.length > 1, separator: '/', size: 'xs', "data-test-id": TEST_IDS.breadcrumbs.root }));
5
+ return (_jsx(Breadcrumbs, { items: items, inactiveLastItem: items.length > 1, separator: '/', size: 'xs', "data-test-id": TEST_IDS.breadcrumbs.root }));
7
6
  }
@@ -928,14 +928,6 @@
928
928
  .staticCard{
929
929
  position:relative;
930
930
  }
931
- .breadcrumbs{
932
- display:flex;
933
- align-items:center;
934
- box-sizing:border-box;
935
- min-width:0;
936
- height:100%;
937
- padding:0 var(--sn-primitive-dimension-8, 8px) !important;
938
- }
939
931
  .container{
940
932
  display:flex;
941
933
  align-items:center;