@cripty2001/utils 0.0.209 → 0.0.210

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.
@@ -145,7 +145,7 @@ class Appserver {
145
145
  this.registered.add(action);
146
146
  this.app.post(action, express_1.default.raw({
147
147
  type: 'application/vnd.msgpack',
148
- limit: '1gb'
148
+ limit: '2gb'
149
149
  }), async (req, res) => {
150
150
  const { status, data } = await (async () => {
151
151
  try {
@@ -2,5 +2,6 @@ export type ModalComponentProps = {
2
2
  children: React.ReactNode;
3
3
  open: boolean;
4
4
  setOpen: (open: boolean) => void;
5
+ animate: boolean;
5
6
  };
6
7
  export default function ModalComponent(props: ModalComponentProps): import("react/jsx-runtime").JSX.Element | null;
@@ -43,5 +43,5 @@ function ModalComponent(props) {
43
43
  height: '100vh',
44
44
  width: '100vw',
45
45
  zIndex: zIndex
46
- }, onClick: () => props.setOpen(false), children: (0, jsx_runtime_1.jsx)("div", { style: { maxWidth: '100%', animation: 'slide-up 0.3s ease-out' }, onClick: (e) => e.stopPropagation(), children: props.children }) }));
46
+ }, onClick: () => props.setOpen(false), children: (0, jsx_runtime_1.jsx)("div", { style: { maxWidth: '100%', animation: props.animate ? 'slide-up 0.3s ease-out' : '' }, onClick: (e) => e.stopPropagation(), children: props.children }) }));
47
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.209",
3
+ "version": "0.0.210",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {