@konoma-development/react-components 0.3.5 → 0.3.7
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.
|
@@ -14340,6 +14340,7 @@ function Select({
|
|
|
14340
14340
|
indicatorClasses = baseClasses$a.indicatorClasses,
|
|
14341
14341
|
valueContainerClasses = baseClasses$a.valueContainerClasses,
|
|
14342
14342
|
options = [],
|
|
14343
|
+
hiddenOptions = [],
|
|
14343
14344
|
placeholder,
|
|
14344
14345
|
className,
|
|
14345
14346
|
required,
|
|
@@ -14441,7 +14442,7 @@ function Select({
|
|
|
14441
14442
|
input: () => controlClasses || "",
|
|
14442
14443
|
indicatorSeparator: () => "hidden",
|
|
14443
14444
|
option: (state) => {
|
|
14444
|
-
if (state.data.value === CUSTOM_ENTRY_VALUE) {
|
|
14445
|
+
if (state.data.value === CUSTOM_ENTRY_VALUE || hiddenOptions.includes(state.data.value)) {
|
|
14445
14446
|
return "hidden";
|
|
14446
14447
|
}
|
|
14447
14448
|
if (state.isSelected) {
|
|
@@ -22709,8 +22710,8 @@ function Table({
|
|
|
22709
22710
|
column.grow ? "grow" : ""
|
|
22710
22711
|
].join(" "),
|
|
22711
22712
|
children: [
|
|
22712
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2 w-full justify-between", children: [
|
|
22713
|
-
/* @__PURE__ */ jsx("span", { children: column.title }),
|
|
22713
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2 w-full justify-between truncate", children: [
|
|
22714
|
+
/* @__PURE__ */ jsx("span", { className: "truncate", title: typeof column.title === "string" ? column.title : void 0, children: column.title }),
|
|
22714
22715
|
column.sortKey && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
22715
22716
|
Icon,
|
|
22716
22717
|
{
|
|
@@ -22796,8 +22797,8 @@ function Table({
|
|
|
22796
22797
|
);
|
|
22797
22798
|
},
|
|
22798
22799
|
children: [
|
|
22799
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2 w-full justify-between", children: [
|
|
22800
|
-
/* @__PURE__ */ jsx("span", { children: column.title }),
|
|
22800
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-2 w-full justify-between truncate", children: [
|
|
22801
|
+
/* @__PURE__ */ jsx("span", { className: "truncate", title: typeof column.title === "string" ? column.title : void 0, children: column.title }),
|
|
22801
22802
|
column.sortKey && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
22802
22803
|
Icon,
|
|
22803
22804
|
{
|