@ceed/ads 0.0.49 → 0.0.50

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.
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  declare const Modal: import("framer-motion").CustomDomComponent<Pick<import("@mui/base").ModalOwnProps, "children" | "container" | "open" | "disablePortal" | "keepMounted" | "disableAutoFocus" | "disableEnforceFocus" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableScrollLock" | "hideBackdrop"> & {
3
- onClose?: ((event: {}, reason: "escapeKeyDown" | "backdropClick" | "closeClick") => void) | undefined;
3
+ onClose?: ((event: {}, reason: "backdropClick" | "escapeKeyDown" | "closeClick") => void) | undefined;
4
4
  sx?: import("@mui/joy/styles/types").SxProps | undefined;
5
5
  } & import("@mui/joy").ModalSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
6
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
package/dist/index.js CHANGED
@@ -1401,13 +1401,18 @@ import { Popper } from "@mui/base/Popper";
1401
1401
 
1402
1402
  // src/components/Input/Input.tsx
1403
1403
  import React11 from "react";
1404
- import { Input as JoyInput } from "@mui/joy";
1404
+ import {
1405
+ Input as JoyInput,
1406
+ FormControl,
1407
+ FormLabel,
1408
+ FormHelperText
1409
+ } from "@mui/joy";
1405
1410
  import { motion as motion10 } from "framer-motion";
1406
1411
  var MotionInput = motion10(JoyInput);
1407
1412
  var Input = (props) => {
1408
1413
  const { label, helperText, error, style, ...innerProps } = props;
1409
1414
  if (label) {
1410
- return /* @__PURE__ */ React11.createElement(FormControl, { error }, label && /* @__PURE__ */ React11.createElement(FormLabel, null, label), /* @__PURE__ */ React11.createElement(MotionInput, { ...innerProps }), helperText && /* @__PURE__ */ React11.createElement(FormHelperText, null, helperText));
1415
+ return /* @__PURE__ */ React11.createElement(FormControl, { error }, /* @__PURE__ */ React11.createElement(FormLabel, null, label), /* @__PURE__ */ React11.createElement(MotionInput, { ...innerProps }), helperText && /* @__PURE__ */ React11.createElement(FormHelperText, null, helperText));
1411
1416
  }
1412
1417
  return /* @__PURE__ */ React11.createElement(MotionInput, { ...innerProps });
1413
1418
  };
@@ -1430,21 +1435,21 @@ var DialogActions_default = DialogActions;
1430
1435
  import { FormControl as JoyFormControl } from "@mui/joy";
1431
1436
  import { motion as motion12 } from "framer-motion";
1432
1437
  var MotionFormControl = motion12(JoyFormControl);
1433
- var FormControl = MotionFormControl;
1434
- FormControl.displayName = "FormControl";
1438
+ var FormControl2 = MotionFormControl;
1439
+ FormControl2.displayName = "FormControl";
1435
1440
 
1436
1441
  // src/components/FormControl/index.ts
1437
- var FormControl_default = FormControl;
1442
+ var FormControl_default = FormControl2;
1438
1443
 
1439
1444
  // src/components/FormLabel/FormLabel.tsx
1440
1445
  import { FormLabel as JoyFormLabel } from "@mui/joy";
1441
1446
  import { motion as motion13 } from "framer-motion";
1442
1447
  var MotionFormLabel = motion13(JoyFormLabel);
1443
- var FormLabel = MotionFormLabel;
1444
- FormLabel.displayName = "FormLabel";
1448
+ var FormLabel2 = MotionFormLabel;
1449
+ FormLabel2.displayName = "FormLabel";
1445
1450
 
1446
1451
  // src/components/FormLabel/index.ts
1447
- var FormLabel_default = FormLabel;
1452
+ var FormLabel_default = FormLabel2;
1448
1453
 
1449
1454
  // src/components/DatePicker/DatePicker.tsx
1450
1455
  var StyledPopper = styled3(Popper, {
@@ -1909,8 +1914,8 @@ Dropdown.displayName = "Dropdown";
1909
1914
  import { FormHelperText as JoyFormHelperText } from "@mui/joy";
1910
1915
  import { motion as motion20 } from "framer-motion";
1911
1916
  var MotionFormHelperText = motion20(JoyFormHelperText);
1912
- var FormHelperText = MotionFormHelperText;
1913
- FormHelperText.displayName = "FormHelperText";
1917
+ var FormHelperText2 = MotionFormHelperText;
1918
+ FormHelperText2.displayName = "FormHelperText";
1914
1919
 
1915
1920
  // src/components/Grid/Grid.tsx
1916
1921
  import { Grid as JoyGrid } from "@mui/joy";
@@ -1965,17 +1970,19 @@ RadioList.displayName = "RadioList";
1965
1970
  import React20 from "react";
1966
1971
  import {
1967
1972
  Select as JoySelect,
1968
- Option as JoyOption
1973
+ Option as JoyOption,
1974
+ FormControl as FormControl3,
1975
+ FormLabel as FormLabel3,
1976
+ FormHelperText as FormHelperText3
1969
1977
  } from "@mui/joy";
1970
1978
  import { motion as motion24 } from "framer-motion";
1971
- var MotionSelect = motion24(JoySelect);
1972
1979
  var MotionOption = motion24(JoyOption);
1973
1980
  var Option = MotionOption;
1974
1981
  Option.displayName = "Option";
1975
1982
  function Select(props) {
1976
1983
  const { label, helperText, error, ...innerProps } = props;
1977
1984
  if (label) {
1978
- return /* @__PURE__ */ React20.createElement(FormControl, { error }, label && /* @__PURE__ */ React20.createElement(FormLabel, null, label), /* @__PURE__ */ React20.createElement(JoySelect, { ...innerProps }), helperText && /* @__PURE__ */ React20.createElement(FormHelperText, null, helperText));
1985
+ return /* @__PURE__ */ React20.createElement(FormControl3, { error }, /* @__PURE__ */ React20.createElement(FormLabel3, null, label), /* @__PURE__ */ React20.createElement(JoySelect, { ...innerProps }), helperText && /* @__PURE__ */ React20.createElement(FormHelperText3, null, helperText));
1979
1986
  }
1980
1987
  return /* @__PURE__ */ React20.createElement(JoySelect, { ...innerProps });
1981
1988
  }
@@ -2150,9 +2157,9 @@ export {
2150
2157
  Divider,
2151
2158
  Drawer,
2152
2159
  Dropdown,
2153
- FormControl,
2154
- FormHelperText,
2155
- FormLabel,
2160
+ FormControl2 as FormControl,
2161
+ FormHelperText2 as FormHelperText,
2162
+ FormLabel2 as FormLabel,
2156
2163
  Grid,
2157
2164
  IconButton,
2158
2165
  Input,