@luminati-io/uikit 3.4.4 → 3.4.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.
@@ -34535,6 +34535,7 @@ var InputLabel = function InputLabel(props) {
34535
34535
  labelText: true
34536
34536
  }, 'labelText--is-required', required)),
34537
34537
  id: id,
34538
+ "data-role": "label",
34538
34539
  variant: variant,
34539
34540
  color: "gray-11-50"
34540
34541
  }, t(label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(NecessityIndicator, {
@@ -34652,9 +34653,11 @@ var HelperText = function HelperText(props) {
34652
34653
  var children = props.children,
34653
34654
  invalid = props.invalid;
34654
34655
  if (!children) return null;
34656
+ var color = invalid ? 'red_11' : 'gray_11_50';
34655
34657
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_8__.Label, {
34658
+ "data-role": "description",
34656
34659
  variant: "xs",
34657
- color: invalid ? 'red_11' : 'gray_11_50'
34660
+ color: color
34658
34661
  }, children);
34659
34662
  };
34660
34663
  HelperText.displayName = 'HelperText';
@@ -34929,7 +34932,6 @@ var ButtonAddInput = function ButtonAddInput(props) {
34929
34932
  if (showInput) {
34930
34933
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_textbox__WEBPACK_IMPORTED_MODULE_3__.Textbox, {
34931
34934
  autofocus: true,
34932
- "data-name": "input",
34933
34935
  className: (0,_util__WEBPACK_IMPORTED_MODULE_2__.classNames)(className, {
34934
34936
  input: true
34935
34937
  }),
@@ -34942,7 +34944,8 @@ var ButtonAddInput = function ButtonAddInput(props) {
34942
34944
  return onInputValueChange(val);
34943
34945
  },
34944
34946
  inputProps: {
34945
- onKeyDown: onInputKeyDown
34947
+ onKeyDown: onInputKeyDown,
34948
+ 'data-name': 'input'
34946
34949
  },
34947
34950
  error: error
34948
34951
  });