@true-engineering/true-react-common-ui-kit 3.0.2 → 3.0.3
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { createContext, useRef, useEffect, useCallback, useState, useMemo, useContext, createElement, Fragment as Fragment$1, forwardRef, createRef, PureComponent, useLayoutEffect, memo } from "react";
|
|
2
2
|
import { createUseStyles } from "react-jss";
|
|
3
|
-
import { mergeStyles, isNotEmpty, isArrayNotEmpty, isEmpty, isString, isStringNotEmpty, mergeRefs, addDataTestId, isReactNodeNotEmpty, addClickHandler,
|
|
3
|
+
import { mergeStyles, isNotEmpty, isArrayNotEmpty, isEmpty, isString, isStringNotEmpty, mergeRefs, addDataTestId, isReactNodeNotEmpty, addClickHandler, getTestId, getSelectKeyHandler, createFilter, getTransition, indexMap, isNumberInteger } from "@true-engineering/true-react-platform-helpers";
|
|
4
4
|
import { CSSTransition } from "react-transition-group";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import hexToRgba from "hex-to-rgba";
|
|
@@ -8084,7 +8084,9 @@ var List = function(param) {
|
|
|
8084
8084
|
className: classes.root
|
|
8085
8085
|
}, addDataTestId(testId), addDataAttributes(data)), {
|
|
8086
8086
|
children: items.map(function(item, i) {
|
|
8087
|
-
return /* @__PURE__ */ jsx(ListItem, _object_spread_props$E(_object_spread$N({
|
|
8087
|
+
return /* @__PURE__ */ jsx(ListItem, _object_spread_props$E(_object_spread$N({
|
|
8088
|
+
testId: getTestId(testId, "item-".concat(i))
|
|
8089
|
+
}, item), {
|
|
8088
8090
|
onClick: function(event) {
|
|
8089
8091
|
return handleItemClick(event, item);
|
|
8090
8092
|
}
|