@data-c/ui 0.2.86 → 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 CHANGED
@@ -9314,10 +9314,15 @@ 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 = 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 }) });
9321
9326
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9322
9327
  Autocomplete,
9323
9328
  {
@@ -9332,6 +9337,7 @@ function TransporterTextField(props) {
9332
9337
  }
9333
9338
  },
9334
9339
  renderOption,
9340
+ endAdornment: defaultEndAdornment,
9335
9341
  ...rest
9336
9342
  }
9337
9343
  );