@snack-uikit/breadcrumbs 0.11.27 → 0.11.28-preview-89561ede.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.
@@ -52,7 +52,7 @@ function Collapse(_ref) {
52
52
  "data-element-type": constants_1.ELEMENT_TYPE.Collapse,
53
53
  children: (0, jsx_runtime_1.jsx)(context_1.BreadcrumbsContext.Provider, {
54
54
  value: Object.assign(Object.assign({}, ctx), {
55
- testId: `${testId}-collapsed`
55
+ testId: "".concat(testId, "-collapsed")
56
56
  }),
57
57
  children: (0, jsx_runtime_1.jsx)(list_1.Droplist, {
58
58
  trigger: 'hoverAndFocusVisible',
@@ -50,7 +50,7 @@ exports.Crumb = (0, react_1.memo)(function Crumb(_a) {
50
50
  testId
51
51
  } = (0, react_1.useContext)(context_1.BreadcrumbsContext);
52
52
  const isLabelShouldBeEllipse = hidden && labelProp.length > ELLIPSIS_LABEL_LENGTH;
53
- const label = isLabelShouldBeEllipse && renderMode === constants_1.ITEM_RENDER_MODE.Ellipsis ? `${labelProp.substring(0, 4)}...` : labelProp;
53
+ const label = isLabelShouldBeEllipse && renderMode === constants_1.ITEM_RENDER_MODE.Ellipsis ? "".concat(labelProp.substring(0, 4), "...") : labelProp;
54
54
  const useIconOnly = Boolean(Icon && useIconOnlyProp);
55
55
  const minWidth = minWidthProp && renderMode === constants_1.ITEM_RENDER_MODE.Ellipsis ? minWidthProp : 'auto';
56
56
  const dataAttributes = {
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getTestId = void 0;
7
- const getTestId = (prefix, testId) => testId ? `${prefix}-element-${testId}` : '';
7
+ const getTestId = (prefix, testId) => testId ? "".concat(prefix, "-element-").concat(testId) : '';
8
8
  exports.getTestId = getTestId;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Breadcrumbs",
7
- "version": "0.11.27",
7
+ "version": "0.11.28-preview-89561ede.0",
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.32.7",
39
+ "@snack-uikit/list": "0.32.8-preview-89561ede.0",
40
40
  "@snack-uikit/typography": "0.8.11",
41
41
  "@snack-uikit/utils": "4.0.0",
42
42
  "classnames": "2.5.1",
43
43
  "lodash.debounce": "4.0.8"
44
44
  },
45
- "gitHead": "fc6ef99551b60c7b9d2f8cacc87cfb0fd35030bf"
45
+ "gitHead": "de5270049691fdddf8df10ab11b5414141015dcf"
46
46
  }