@luminati-io/uikit 3.2.8 → 3.2.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -36976,7 +36976,7 @@ var CheckboxList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
36976
36976
  }, [isOptionDisabled]);
36977
36977
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, _extends({
36978
36978
  ref: forwardRef,
36979
- "data-testid": "dropdown",
36979
+ "data-testid": "checkbox-list",
36980
36980
  className: className
36981
36981
  }, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCommonProps)(rest), {
36982
36982
  flex_direction: "column",
@@ -38262,7 +38262,7 @@ var Option = function Option(props) {
38262
38262
  innerProps = props.innerProps;
38263
38263
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledItem, _extends({
38264
38264
  ref: innerRef,
38265
- "data-option": true,
38265
+ testId: data.testId,
38266
38266
  type: "item",
38267
38267
  className: cx({
38268
38268
  option: true,
@@ -40016,7 +40016,7 @@ __webpack_require__.r(__webpack_exports__);
40016
40016
 
40017
40017
  /*jslint react:true*/
40018
40018
 
40019
- var _excluded = ["type", "text", "secondaryText", "tertiaryText", "description", "size", "children", "variant", "tag", "disabled", "selected", "subMenu", "tooltip", "isFirstItem"],
40019
+ var _excluded = ["type", "text", "secondaryText", "tertiaryText", "description", "size", "children", "variant", "tag", "disabled", "selected", "subMenu", "tooltip", "isFirstItem", "testId"],
40020
40020
  _excluded2 = ["isLeft"],
40021
40021
  _excluded3 = ["subItems", "children"],
40022
40022
  _excluded4 = ["popover"];
@@ -40051,6 +40051,7 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
40051
40051
  subMenu = props.subMenu,
40052
40052
  tooltip = props.tooltip,
40053
40053
  isFirstItem = props.isFirstItem,
40054
+ testId = props.testId,
40054
40055
  rest = _objectWithoutProperties(props, _excluded);
40055
40056
  if (type == 'divider') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_divider__WEBPACK_IMPORTED_MODULE_11__["default"], {
40056
40057
  ref: ref
@@ -40063,7 +40064,8 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
40063
40064
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_12__.MenuItemGroup, _extends({
40064
40065
  ref: ref,
40065
40066
  text: text,
40066
- isFirstItem: isFirstItem
40067
+ isFirstItem: isFirstItem,
40068
+ testId: testId
40067
40069
  }, rest), subItems);
40068
40070
  }
40069
40071
  var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getIconProps)('MenuItem', props),
@@ -40079,6 +40081,7 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forward
40079
40081
  tooltip: tooltip,
40080
40082
  noWrap: true
40081
40083
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemComp, _extends({}, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'icon', 'iconPlacement'), {
40084
+ "data-testid": testId,
40082
40085
  "aria-disabled": disabled ? '' : undefined,
40083
40086
  size: size,
40084
40087
  role: "button",
@@ -40293,7 +40296,7 @@ __webpack_require__.r(__webpack_exports__);
40293
40296
 
40294
40297
 
40295
40298
  /*jslint react:true*/
40296
- var _excluded = ["text", "children", "isFirstItem"];
40299
+ var _excluded = ["text", "children", "isFirstItem", "testId"];
40297
40300
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
40298
40301
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
40299
40302
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -40306,9 +40309,11 @@ var MenuItemGroup = function MenuItemGroup(props) {
40306
40309
  var text = props.text,
40307
40310
  children = props.children,
40308
40311
  isFirstItem = props.isFirstItem,
40312
+ testId = props.testId,
40309
40313
  rest = _objectWithoutProperties(props, _excluded);
40310
40314
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, !isFirstItem && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu_item_divider__WEBPACK_IMPORTED_MODULE_3__["default"], null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_4__.MenuItemContainer, _extends({
40311
- role: "presentation"
40315
+ role: "presentation",
40316
+ "data-testid": testId
40312
40317
  }, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(GroupTitle, {
40313
40318
  variant: "base",
40314
40319
  no_wrap: true,