@data-c/ui 0.2.88 → 0.2.89
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/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +127 -124
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9319,7 +9319,10 @@ function TransporterTextField(props) {
|
|
|
9319
9319
|
const { disableLocalFiltering, renderOption, endAdornment, ...rest } = props;
|
|
9320
9320
|
const scope = useTransporterScope();
|
|
9321
9321
|
const { openTransporter, triggerOnChange, value } = useTransporter(scope);
|
|
9322
|
-
const defaultEndAdornment = /* @__PURE__ */ _jsxruntime.
|
|
9322
|
+
const defaultEndAdornment = endAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Stack, { direction: "row", spacing: 0, alignItems: "center", children: [
|
|
9323
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LucidIcon_default, { name: "ArrowUpRight", size: 18 }) }),
|
|
9324
|
+
endAdornment
|
|
9325
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LucidIcon_default, { name: "ArrowUpRight", size: 18 }) });
|
|
9323
9326
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9324
9327
|
Autocomplete,
|
|
9325
9328
|
{
|
|
@@ -9334,7 +9337,7 @@ function TransporterTextField(props) {
|
|
|
9334
9337
|
}
|
|
9335
9338
|
},
|
|
9336
9339
|
renderOption,
|
|
9337
|
-
endAdornment:
|
|
9340
|
+
endAdornment: defaultEndAdornment,
|
|
9338
9341
|
...rest
|
|
9339
9342
|
}
|
|
9340
9343
|
);
|