@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.mjs CHANGED
@@ -5069,7 +5069,7 @@ import isStrongPassword from "validator/lib/isStrongPassword";
5069
5069
  // src/PasswordTextField/index.tsx
5070
5070
  import Visibility from "@mui/icons-material/Visibility";
5071
5071
  import VisibilityOff from "@mui/icons-material/VisibilityOff";
5072
- import { IconButton as IconButton12, InputAdornment as InputAdornment4 } from "@mui/material";
5072
+ import { IconButton as IconButton13, InputAdornment as InputAdornment4 } from "@mui/material";
5073
5073
  import { useState as useState16 } from "react";
5074
5074
 
5075
5075
  // src/v2/Header/HeaderContent.tsx
@@ -9313,11 +9313,13 @@ function TransporterRoot(props) {
9313
9313
  }
9314
9314
 
9315
9315
  // src/v2/Transporter/TransporterTextField.tsx
9316
+ import { IconButton as IconButton11 } from "@mui/material";
9316
9317
  import { jsx as jsx141 } from "react/jsx-runtime";
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__ */ jsx141(IconButton11, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 }) });
9321
9323
  return /* @__PURE__ */ jsx141(
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
  );
@@ -9826,7 +9829,7 @@ function DatePickerProvider({
9826
9829
 
9827
9830
  // src/v2/DateRangePicker/index.tsx
9828
9831
  import {
9829
- IconButton as IconButton11,
9832
+ IconButton as IconButton12,
9830
9833
  InputAdornment as InputAdornment3,
9831
9834
  MenuItem as MenuItem5,
9832
9835
  Stack as Stack37,
@@ -10046,8 +10049,8 @@ function DateRangePicker(props) {
10046
10049
  variant: "outlined",
10047
10050
  InputProps: {
10048
10051
  startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs65(InputAdornment3, { position: "start", children: [
10049
- /* @__PURE__ */ jsx150(IconButton11, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
10050
- /* @__PURE__ */ jsx150(IconButton11, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
10052
+ /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
10053
+ /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
10051
10054
  ] })
10052
10055
  },
10053
10056
  children: [
@@ -10115,8 +10118,8 @@ function DateRangePicker(props) {
10115
10118
  variant: "outlined",
10116
10119
  InputProps: {
10117
10120
  startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs65(InputAdornment3, { position: "start", children: [
10118
- /* @__PURE__ */ jsx150(IconButton11, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
10119
- /* @__PURE__ */ jsx150(IconButton11, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
10121
+ /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
10122
+ /* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
10120
10123
  ] })
10121
10124
  },
10122
10125
  children: [
@@ -10271,7 +10274,7 @@ function PasswordTextField(props) {
10271
10274
  slotProps: {
10272
10275
  input: {
10273
10276
  endAdornment: /* @__PURE__ */ jsx152(InputAdornment4, { position: "end", children: /* @__PURE__ */ jsx152(
10274
- IconButton12,
10277
+ IconButton13,
10275
10278
  {
10276
10279
  tabIndex: -1,
10277
10280
  onClick: handleClickShowPassword,
@@ -10906,7 +10909,7 @@ import {
10906
10909
  useForm as useForm2
10907
10910
  } from "@data-c/hooks";
10908
10911
  import HelpOutline from "@mui/icons-material/HelpOutline";
10909
- import { Alert as Alert7, IconButton as IconButton13, Stack as Stack40, TextField as TextField11, Typography as Typography23 } from "@mui/material";
10912
+ import { Alert as Alert7, IconButton as IconButton14, Stack as Stack40, TextField as TextField11, Typography as Typography23 } from "@mui/material";
10910
10913
  import { useState as useState23 } from "react";
10911
10914
 
10912
10915
  // src/WhastappTextField/index.tsx
@@ -11211,7 +11214,7 @@ function OtpForm(props) {
11211
11214
  href: "https://datacsistemashelp.zendesk.com/hc/pt-br/articles/36489079108756-Login-OTP-via-WhatsApp",
11212
11215
  target: "_blank",
11213
11216
  rel: "noopener noreferrer",
11214
- children: /* @__PURE__ */ jsx161(IconButton13, { children: /* @__PURE__ */ jsx161(HelpOutline, { color: "primary" }) })
11217
+ children: /* @__PURE__ */ jsx161(IconButton14, { children: /* @__PURE__ */ jsx161(HelpOutline, { color: "primary" }) })
11215
11218
  }
11216
11219
  )
11217
11220
  ]