@true-engineering/true-react-common-ui-kit 3.36.0 → 3.38.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/README.md +12 -0
- package/dist/theme/types.d.ts +0 -1
- package/dist/true-react-common-ui-kit.js +4 -2
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +4 -2
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Select/Select.stories.tsx +1 -0
- package/src/components/Select/Select.tsx +5 -1
- package/src/theme/common.ts +0 -1
- package/src/theme/types.ts +0 -1
|
@@ -1098,7 +1098,6 @@
|
|
|
1098
1098
|
}
|
|
1099
1099
|
};
|
|
1100
1100
|
var common = {
|
|
1101
|
-
name: "common",
|
|
1102
1101
|
animations,
|
|
1103
1102
|
colors,
|
|
1104
1103
|
dimensions,
|
|
@@ -11767,6 +11766,9 @@
|
|
|
11767
11766
|
onBlur
|
|
11768
11767
|
]);
|
|
11769
11768
|
var handleListOpen = function() {
|
|
11769
|
+
if (isReadonly) {
|
|
11770
|
+
return;
|
|
11771
|
+
}
|
|
11770
11772
|
if (!isListOpen) {
|
|
11771
11773
|
setIsListOpen(true);
|
|
11772
11774
|
if (!(dropdownOptions === null || dropdownOptions === void 0 ? void 0 : dropdownOptions.shouldUsePopper)) {
|
|
@@ -12074,7 +12076,7 @@
|
|
|
12074
12076
|
children: [
|
|
12075
12077
|
/* @__PURE__ */ jsxs("div", {
|
|
12076
12078
|
className: clsx(classes.inputWrapper, isDisabled && classes.disabled),
|
|
12077
|
-
onClick: isDisabled ? void 0 : handleOnClick,
|
|
12079
|
+
onClick: isDisabled || isReadonly ? void 0 : handleOnClick,
|
|
12078
12080
|
ref: inputWrapper,
|
|
12079
12081
|
children: [
|
|
12080
12082
|
/* @__PURE__ */ jsx(Input, _object_spread$G({
|