@widergy/energy-ui 3.49.4 → 3.49.6

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,17 @@
1
+ ## [3.49.6](https://github.com/widergy/energy-ui/compare/v3.49.5...v3.49.6) (2024-12-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * breadcrumbs repeated id fix ([#544](https://github.com/widergy/energy-ui/issues/544)) ([770f56c](https://github.com/widergy/energy-ui/commit/770f56c37077ccdb04f2db3e67b97331607d5087))
7
+
8
+ ## [3.49.5](https://github.com/widergy/energy-ui/compare/v3.49.4...v3.49.5) (2024-12-16)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * [CGE-607] search input keyboard support ([#549](https://github.com/widergy/energy-ui/issues/549)) ([886db15](https://github.com/widergy/energy-ui/commit/886db156efe4db02b940314bba397fddbd80da2f))
14
+
1
15
  ## [3.49.4](https://github.com/widergy/energy-ui/compare/v3.49.3...v3.49.4) (2024-12-13)
2
16
 
3
17
 
@@ -22,6 +22,7 @@ const UTBaseInputField = _ref => {
22
22
  let {
23
23
  classes: theme,
24
24
  classNames = {},
25
+ dataKeyboard,
25
26
  dataTestId,
26
27
  disabled,
27
28
  error,
@@ -110,6 +111,7 @@ const UTBaseInputField = _ref => {
110
111
  InputProps: {
111
112
  inputProps: {
112
113
  'data-testid': dataTestId,
114
+ 'data-keyboard': dataKeyboard,
113
115
  maxLength,
114
116
  readOnly,
115
117
  ...(muiProps === null || muiProps === void 0 ? void 0 : muiProps.inputProps)
@@ -139,6 +141,7 @@ const propTypes = exports.propTypes = {
139
141
  alwaysShowPlaceholder: _propTypes.bool,
140
142
  classes: (0, _propTypes.objectOf)(_propTypes.string),
141
143
  classNames: (0, _propTypes.objectOf)(_propTypes.string),
144
+ dataKeyboard: _propTypes.string,
142
145
  dataTestId: _propTypes.string,
143
146
  disabled: _propTypes.bool,
144
147
  error: (0, _propTypes.oneOfType)([_propTypes.bool, _propTypes.string]),
@@ -165,7 +165,6 @@ const UTBreadcrumbs = _ref => {
165
165
  variant: "text"
166
166
  }, colorThemesDefinition.button), "".concat(label)), !isLast && /*#__PURE__*/_react.default.createElement(_UTLabel.default, _extends({
167
167
  className: classes.separator,
168
- dataTestId: dataTestId,
169
168
  variant: "small",
170
169
  weight: "medium"
171
170
  }, colorThemesDefinition.label), separator));
@@ -6,20 +6,21 @@
6
6
 
7
7
  ## Props
8
8
 
9
- | Name | Type | Default | Description |
10
- | ----------- | ------ | ------- | ----------------------------------------------------------- |
11
- | className | string | | CSS class to customize the root element of the input field. |
12
- | dataTestId | string | | Identifier used for testing purposes. |
13
- | disabled | bool | | Disables the input field if set to true. |
14
- | id | string | | Unique identifier for the input field. |
15
- | onBlur | func | | Function to call when the input field loses focus. |
16
- | onChange | func | | Function to call when the input field value changes. |
17
- | onFocus | func | | Function to call when the input field gains focus. |
18
- | placeholder | string | | Placeholder text for the input field. |
19
- | size | string | | Size of the input field. One of: `small`, `large`. |
20
- | type | string | | Type of input (e.g., 'numeric', 'password', 'text' ). |
21
- | value | string | null | The value of the input field. |
22
- | variant | string | gray | Variant of the input field. One of: `white`, `gray`. |
9
+ | Name | Type | Default | Description |
10
+ | ------------ | ------ | ------- | ----------------------------------------------------------- |
11
+ | className | string | | CSS class to customize the root element of the input field. |
12
+ | dataTestId | string | | Identifier used for testing purposes. |
13
+ | dataKeyboard | string | | Identifier used for keyboardSupport. |
14
+ | disabled | bool | | Disables the input field if set to true. |
15
+ | id | string | | Unique identifier for the input field. |
16
+ | onBlur | func | | Function to call when the input field loses focus. |
17
+ | onChange | func | | Function to call when the input field value changes. |
18
+ | onFocus | func | | Function to call when the input field gains focus. |
19
+ | placeholder | string | | Placeholder text for the input field. |
20
+ | size | string | | Size of the input field. One of: `small`, `large`. |
21
+ | type | string | | Type of input (e.g., 'numeric', 'password', 'text' ). |
22
+ | value | string | null | The value of the input field. |
23
+ | variant | string | gray | Variant of the input field. One of: `white`, `gray`. |
23
24
 
24
25
  ### Adornments
25
26
 
@@ -16,6 +16,7 @@ const UTSearchField = _ref => {
16
16
  let {
17
17
  classes,
18
18
  className,
19
+ dataKeyboard,
19
20
  dataTestId,
20
21
  disabled,
21
22
  id,
@@ -56,6 +57,7 @@ const UTSearchField = _ref => {
56
57
  container: "".concat(_stylesModule.default.container, " ").concat(className),
57
58
  input: classes.input
58
59
  },
60
+ dataKeyboard: dataKeyboard || 'search',
59
61
  dataTestId: dataTestId,
60
62
  disabled: disabled,
61
63
  id: id,
@@ -72,8 +74,9 @@ const UTSearchField = _ref => {
72
74
  });
73
75
  };
74
76
  const propTypes = exports.propTypes = {
75
- classes: (0, _propTypes.objectOf)(_propTypes.string),
76
77
  className: _propTypes.string,
78
+ classes: (0, _propTypes.objectOf)(_propTypes.string),
79
+ dataKeyboard: _propTypes.string,
77
80
  dataTestId: _propTypes.string,
78
81
  disabled: _propTypes.bool,
79
82
  id: _propTypes.string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "3.49.4",
3
+ "version": "3.49.6",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",