@cloud-ru/ds-uikit-product-header 2.0.4 → 2.0.5
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 +6 -0
- package/dist/cjs/components/PathBreadcrumbs/PathBreadcrumbs.js +1 -5
- package/dist/cjs/style.css +0 -8
- package/dist/esm/components/PathBreadcrumbs/PathBreadcrumbs.js +1 -2
- package/dist/esm/style.css +0 -8
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/components/PathBreadcrumbs/PathBreadcrumbs.tsx +0 -2
- package/dist/cjs/components/PathBreadcrumbs/styles.module.css +0 -8
- package/dist/esm/components/PathBreadcrumbs/styles.module.css +0 -8
- package/src/components/PathBreadcrumbs/styles.module.scss +0 -12
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
|
|
@@ -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,
|
|
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
|
}
|
package/dist/cjs/style.css
CHANGED
|
@@ -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,
|
|
5
|
+
return (_jsx(Breadcrumbs, { items: items, inactiveLastItem: items.length > 1, separator: '/', size: 'xs', "data-test-id": TEST_IDS.breadcrumbs.root }));
|
|
7
6
|
}
|
package/dist/esm/style.css
CHANGED
|
@@ -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;
|