@snack-uikit/breadcrumbs 0.10.14-preview-95f36d41.0 → 0.10.14

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,15 @@
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
+ ## 0.10.14 (2024-12-25)
7
+
8
+ ### Only dependencies have been changed
9
+ * [@snack-uikit/list@0.22.1](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/list/CHANGELOG.md)
10
+
11
+
12
+
13
+
14
+
6
15
  ## 0.10.13 (2024-12-18)
7
16
 
8
17
  ### Only dependencies have been changed
@@ -68,21 +68,18 @@ exports.Breadcrumbs = (0, react_1.memo)(function Breadcrumbs(_a) {
68
68
  currentConfig: currentConfig.chain
69
69
  }, index);
70
70
  case constants_1.ELEMENT_TYPE.Item:
71
- {
72
- const {
73
- renderMode,
74
- id
75
- } = block.item;
76
- if (renderMode !== constants_1.ITEM_RENDER_MODE.Collapsed) {
77
- return (0, jsx_runtime_1.jsx)(Crumb_1.Crumb, {
78
- useIconOnly: !index && firstItemIconOnly,
79
- current: isLastElement,
80
- renderMode: renderMode,
81
- minWidth: block.width,
82
- item: block.item
83
- }, id);
84
- }
85
- break;
71
+ const {
72
+ renderMode,
73
+ id
74
+ } = block.item;
75
+ if (renderMode !== constants_1.ITEM_RENDER_MODE.Collapsed) {
76
+ return (0, jsx_runtime_1.jsx)(Crumb_1.Crumb, {
77
+ useIconOnly: !index && firstItemIconOnly,
78
+ current: isLastElement,
79
+ renderMode: renderMode,
80
+ minWidth: block.width,
81
+ item: block.item
82
+ }, id);
86
83
  }
87
84
  default:
88
85
  return null;
@@ -35,13 +35,11 @@ export const Breadcrumbs = memo(function Breadcrumbs(_a) {
35
35
  return _jsx(Separator, {}, index);
36
36
  case ELEMENT_TYPE.Collapse:
37
37
  return _jsx(Collapse, { currentConfig: currentConfig.chain }, index);
38
- case ELEMENT_TYPE.Item: {
38
+ case ELEMENT_TYPE.Item:
39
39
  const { renderMode, id } = block.item;
40
40
  if (renderMode !== ITEM_RENDER_MODE.Collapsed) {
41
41
  return (_jsx(Crumb, { useIconOnly: !index && firstItemIconOnly, current: isLastElement, renderMode: renderMode, minWidth: block.width, item: block.item }, id));
42
42
  }
43
- break;
44
- }
45
43
  default:
46
44
  return null;
47
45
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Breadcrumbs",
7
- "version": "0.10.14-preview-95f36d41.0",
7
+ "version": "0.10.14",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -36,11 +36,11 @@
36
36
  "license": "Apache-2.0",
37
37
  "scripts": {},
38
38
  "dependencies": {
39
- "@snack-uikit/list": "0.22.1-preview-95f36d41.0",
39
+ "@snack-uikit/list": "0.22.1",
40
40
  "@snack-uikit/typography": "0.8.3",
41
41
  "@snack-uikit/utils": "3.6.0",
42
42
  "classnames": "2.5.1",
43
43
  "lodash.debounce": "4.0.8"
44
44
  },
45
- "gitHead": "e866724aaa8b037109a05efa3e188a2c17989aa6"
45
+ "gitHead": "5f981cd3d7c5169db2bff1d58db36b6c83da6861"
46
46
  }
@@ -86,7 +86,7 @@ export const Breadcrumbs = memo(function Breadcrumbs({
86
86
  return <Separator key={index} />;
87
87
  case ELEMENT_TYPE.Collapse:
88
88
  return <Collapse key={index} currentConfig={currentConfig.chain} />;
89
- case ELEMENT_TYPE.Item: {
89
+ case ELEMENT_TYPE.Item:
90
90
  const { renderMode, id } = block.item;
91
91
  if (renderMode !== ITEM_RENDER_MODE.Collapsed) {
92
92
  return (
@@ -100,8 +100,6 @@ export const Breadcrumbs = memo(function Breadcrumbs({
100
100
  />
101
101
  );
102
102
  }
103
- break;
104
- }
105
103
  default:
106
104
  return null;
107
105
  }