@data-c/ui 0.2.86 → 0.2.88
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 +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -9314,10 +9314,12 @@ function TransporterRoot(props) {
|
|
|
9314
9314
|
|
|
9315
9315
|
// src/v2/Transporter/TransporterTextField.tsx
|
|
9316
9316
|
|
|
9317
|
+
|
|
9317
9318
|
function TransporterTextField(props) {
|
|
9318
|
-
const { disableLocalFiltering, renderOption, ...rest } = props;
|
|
9319
|
+
const { disableLocalFiltering, renderOption, endAdornment, ...rest } = props;
|
|
9319
9320
|
const scope = useTransporterScope();
|
|
9320
9321
|
const { openTransporter, triggerOnChange, value } = useTransporter(scope);
|
|
9322
|
+
const defaultEndAdornment = /* @__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 }) });
|
|
9321
9323
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9322
9324
|
Autocomplete,
|
|
9323
9325
|
{
|
|
@@ -9332,6 +9334,7 @@ function TransporterTextField(props) {
|
|
|
9332
9334
|
}
|
|
9333
9335
|
},
|
|
9334
9336
|
renderOption,
|
|
9337
|
+
endAdornment: { ...defaultEndAdornment, ...endAdornment },
|
|
9335
9338
|
...rest
|
|
9336
9339
|
}
|
|
9337
9340
|
);
|