jclib-ui 1.0.150 → 1.0.152

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.
@@ -12,6 +12,7 @@ type Props = {
12
12
  fields: string[]
13
13
  renderLine?: (item) => ReactNode
14
14
  onClick: (keyValue, item) => void
15
+ maxWidth?: number
15
16
  }
16
17
 
17
18
  export default function BoxSearch(props: Props)
@@ -8151,7 +8151,10 @@ const ContainerFixed = styled.div`
8151
8151
  }
8152
8152
 
8153
8153
  @media (max-width: 575px) {
8154
- padding-top: ${(props) => props.alignTop ? "45px" : "0"};
8154
+ padding-top: 0;
8155
+ align-items: center;
8156
+ justify-content: center;
8157
+ padding-bottom: 0;
8155
8158
 
8156
8159
  & > .mod-panel > .modal--content {
8157
8160
  ${(p2) => p2.alignTop ? "max-height: calc(100vh - 110px);" : ""}
@@ -18847,6 +18850,7 @@ function BoxSearch({
18847
18850
  setOpen,
18848
18851
  title = "Pesquisar",
18849
18852
  placeHolder = "Digite o que deseja pesquisar",
18853
+ maxWidth = 800,
18850
18854
  searchInit,
18851
18855
  route,
18852
18856
  keyField,
@@ -18938,7 +18942,7 @@ function BoxSearch({
18938
18942
  }
18939
18943
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
18940
18944
  /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, { visible: resLoad.loading }),
18941
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Modal, { title, maxWidth: 800, visible: true, setVisible: setOpen, children: [
18945
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Modal, { title, maxWidth, visible: true, setVisible: setOpen, children: [
18942
18946
  /* @__PURE__ */ jsxRuntimeExports.jsx(ModalHeader, { setVisible: setOpen, children: title }),
18943
18947
  /* @__PURE__ */ jsxRuntimeExports.jsx(ModalContent, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ModalBody, { children: [
18944
18948
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "my-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(