@data-c/ui 0.2.89 → 0.2.90

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.mjs CHANGED
@@ -9313,16 +9313,39 @@ function TransporterRoot(props) {
9313
9313
  }
9314
9314
 
9315
9315
  // src/v2/Transporter/TransporterTextField.tsx
9316
- import { IconButton as IconButton11, Stack as Stack36 } from "@mui/material";
9316
+ import { IconButton as IconButton11, Stack as Stack36, Tooltip as Tooltip3 } from "@mui/material";
9317
9317
  import { jsx as jsx141, jsxs as jsxs63 } from "react/jsx-runtime";
9318
9318
  function TransporterTextField(props) {
9319
- const { disableLocalFiltering, renderOption, endAdornment, ...rest } = props;
9319
+ const {
9320
+ disableLocalFiltering,
9321
+ renderOption,
9322
+ endAdornment,
9323
+ disabled,
9324
+ ...rest
9325
+ } = props;
9320
9326
  const scope = useTransporterScope();
9321
9327
  const { openTransporter, triggerOnChange, value } = useTransporter(scope);
9322
- const defaultEndAdornment = endAdornment ? /* @__PURE__ */ jsxs63(Stack36, { direction: "row", spacing: 0, alignItems: "center", children: [
9323
- /* @__PURE__ */ jsx141(IconButton11, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 }) }),
9328
+ const defaultEndAdornment = endAdornment ? /* @__PURE__ */ jsxs63(Stack36, { direction: "row", spacing: 0, alignItems: "center", mr: 1, children: [
9329
+ /* @__PURE__ */ jsx141(Tooltip3, { title: "Clique no \xEDcone ou d\xEA dois cliques no campo para abrir a busca avan\xE7ada", children: /* @__PURE__ */ jsx141(
9330
+ IconButton11,
9331
+ {
9332
+ disabled,
9333
+ onClick: () => openTransporter(),
9334
+ edge: "end",
9335
+ children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 })
9336
+ }
9337
+ ) }),
9324
9338
  endAdornment
9325
- ] }) : /* @__PURE__ */ jsx141(IconButton11, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 }) });
9339
+ ] }) : /* @__PURE__ */ jsx141(Tooltip3, { title: "Clique no \xEDcone ou d\xEA dois cliques no campo para abrir a busca avan\xE7ada", children: /* @__PURE__ */ jsx141(
9340
+ IconButton11,
9341
+ {
9342
+ disabled,
9343
+ onClick: () => openTransporter(),
9344
+ edge: "end",
9345
+ sx: { mr: 1 },
9346
+ children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 })
9347
+ }
9348
+ ) });
9326
9349
  return /* @__PURE__ */ jsx141(
9327
9350
  Autocomplete,
9328
9351
  {
@@ -9338,6 +9361,7 @@ function TransporterTextField(props) {
9338
9361
  },
9339
9362
  renderOption,
9340
9363
  endAdornment: defaultEndAdornment,
9364
+ disabled,
9341
9365
  ...rest
9342
9366
  }
9343
9367
  );