@widergy/energy-ui 3.27.0 → 3.28.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
@@ -1,3 +1,10 @@
1
+ # [3.28.0](https://github.com/widergy/energy-ui/compare/v3.27.0...v3.28.0) (2024-10-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * [AUT-406] breadcrumbs ids ([#505](https://github.com/widergy/energy-ui/issues/505)) ([ceb97d1](https://github.com/widergy/energy-ui/commit/ceb97d16967e310c2efb0d52fad317755e47086c))
7
+
1
8
  # [3.27.0](https://github.com/widergy/energy-ui/compare/v3.26.0...v3.27.0) (2024-10-09)
2
9
 
3
10
 
@@ -113,6 +113,7 @@ const UTBreadcrumbs = _ref => {
113
113
  }, content.map((_ref3, index) => {
114
114
  let {
115
115
  buttonColorTheme,
116
+ dataTestId,
116
117
  itemClassName,
117
118
  label,
118
119
  menuItems,
@@ -149,6 +150,7 @@ const UTBreadcrumbs = _ref => {
149
150
  key: "".concat(route, "-").concat(label)
150
151
  }, !route && !menuItems || disableMenu ? /*#__PURE__*/_react.default.createElement(_UTLabel.default, _extends({
151
152
  className: _stylesModule.default.label,
153
+ dataTestId: dataTestId,
152
154
  variant: "small",
153
155
  weight: "medium"
154
156
  }, colorThemesDefinition.label), label) : /*#__PURE__*/_react.default.createElement(_UTButton.default, _extends({
@@ -157,11 +159,13 @@ const UTBreadcrumbs = _ref => {
157
159
  childrenContainer: overflowControl ? _stylesModule.default.buttonContainer : null,
158
160
  text: overflowControl ? _stylesModule.default.ellipsis : null
159
161
  },
162
+ dataTestId: dataTestId,
160
163
  onClick: handleClick,
161
164
  size: "small",
162
165
  variant: "text"
163
166
  }, colorThemesDefinition.button), "".concat(label)), !isLast && /*#__PURE__*/_react.default.createElement(_UTLabel.default, _extends({
164
167
  className: classes.separator,
168
+ dataTestId: dataTestId,
165
169
  variant: "small",
166
170
  weight: "medium"
167
171
  }, colorThemesDefinition.label), separator));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "3.27.0",
3
+ "version": "3.28.0",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",