@ceed/ads 0.0.71 → 0.0.72

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,5 +1,5 @@
1
1
  import React from "react";
2
- import { StyleOverrides, Theme } from "@mui/joy/styles";
2
+ import { StyleOverrides, Theme } from "@mui/joy";
3
3
  import { CalendarOwnerState, CalendarProps, CalendarSlot } from "../Calendar/types";
4
4
  declare module "@mui/joy/styles" {
5
5
  interface Components {
package/dist/index.js CHANGED
@@ -230,7 +230,7 @@ Breadcrumbs.displayName = "Breadcrumbs";
230
230
 
231
231
  // src/components/Calendar/Calendar.tsx
232
232
  import React8, { Fragment, forwardRef as forwardRef2, useMemo as useMemo2 } from "react";
233
- import { styled } from "@mui/joy/styles";
233
+ import { styled } from "@mui/joy";
234
234
  import ChevronLeftIcon from "@mui/icons-material/esm/ChevronLeft.js";
235
235
  import ChevronRightIcon from "@mui/icons-material/esm/ChevronRight.js";
236
236
  import { AnimatePresence, motion as motion9 } from "framer-motion";
@@ -333,7 +333,7 @@ var IconButton_default = IconButton;
333
333
 
334
334
  // src/components/Calendar/hooks/use-calendar-props.ts
335
335
  import { useCallback, useMemo, useState as useState2 } from "react";
336
- import { useThemeProps } from "@mui/joy/styles";
336
+ import { useThemeProps } from "@mui/joy";
337
337
  var resolveView = (view, views) => {
338
338
  return views.includes(view) ? view : views[0];
339
339
  };
@@ -1042,8 +1042,7 @@ import React12, {
1042
1042
  useRef,
1043
1043
  useState as useState4
1044
1044
  } from "react";
1045
- import { styled as styled3 } from "@mui/joy/styles";
1046
- import LinearProgress from "@mui/joy/LinearProgress";
1045
+ import { styled as styled3, LinearProgress } from "@mui/joy";
1047
1046
  import PreviousIcon from "@mui/icons-material/esm/ChevronLeft.js";
1048
1047
  import NextIcon from "@mui/icons-material/esm/ChevronRight.js";
1049
1048
 
@@ -1579,10 +1578,8 @@ DataTable.displayName = "DataTable";
1579
1578
  import React14, { forwardRef as forwardRef4, useCallback as useCallback4, useState as useState5 } from "react";
1580
1579
  import { IMaskInput, IMask } from "react-imask";
1581
1580
  import CalendarTodayIcon from "@mui/icons-material/esm/CalendarToday.js";
1582
- import { styled as styled4 } from "@mui/joy/styles";
1583
- import { FocusTrap } from "@mui/base/FocusTrap";
1584
- import { ClickAwayListener } from "@mui/base/ClickAwayListener";
1585
- import { Popper } from "@mui/base/Popper";
1581
+ import { styled as styled4 } from "@mui/joy";
1582
+ import { FocusTrap, ClickAwayListener, Popper } from "@mui/base";
1586
1583
 
1587
1584
  // src/components/Input/Input.tsx
1588
1585
  import React13 from "react";
@@ -1781,10 +1778,8 @@ DatePicker.displayName = "DatePicker";
1781
1778
  import React15, { forwardRef as forwardRef5, useCallback as useCallback5, useMemo as useMemo4, useState as useState6 } from "react";
1782
1779
  import { IMaskInput as IMaskInput2, IMask as IMask2 } from "react-imask";
1783
1780
  import CalendarTodayIcon2 from "@mui/icons-material/esm/CalendarToday.js";
1784
- import { styled as styled5 } from "@mui/joy/styles";
1785
- import { FocusTrap as FocusTrap2 } from "@mui/base/FocusTrap";
1786
- import { ClickAwayListener as ClickAwayListener2 } from "@mui/base/ClickAwayListener";
1787
- import { Popper as Popper2 } from "@mui/base/Popper";
1781
+ import { styled as styled5 } from "@mui/joy";
1782
+ import { FocusTrap as FocusTrap2, ClickAwayListener as ClickAwayListener2, Popper as Popper2 } from "@mui/base";
1788
1783
  var StyledPopper2 = styled5(Popper2, {
1789
1784
  name: "DateRangePicker",
1790
1785
  slot: "popper"
@@ -2113,10 +2108,8 @@ MenuItem.displayName = "MenuItem";
2113
2108
  import React21, { forwardRef as forwardRef6, useCallback as useCallback6, useMemo as useMemo5, useState as useState7 } from "react";
2114
2109
  import { IMaskInput as IMaskInput3, IMask as IMask3 } from "react-imask";
2115
2110
  import CalendarTodayIcon3 from "@mui/icons-material/esm/CalendarToday.js";
2116
- import { styled as styled6 } from "@mui/joy/styles";
2117
- import { FocusTrap as FocusTrap3 } from "@mui/base/FocusTrap";
2118
- import { ClickAwayListener as ClickAwayListener3 } from "@mui/base/ClickAwayListener";
2119
- import { Popper as Popper3 } from "@mui/base/Popper";
2111
+ import { styled as styled6 } from "@mui/joy";
2112
+ import { FocusTrap as FocusTrap3, ClickAwayListener as ClickAwayListener3, Popper as Popper3 } from "@mui/base";
2120
2113
  var StyledPopper3 = styled6(Popper3, {
2121
2114
  name: "MonthRangePicker",
2122
2115
  slot: "popper"
@@ -2149,14 +2142,8 @@ var parseDate2 = (str) => {
2149
2142
  const yearMonthDay1 = date1.split("/");
2150
2143
  const yearMonthDay2 = date2.split("/");
2151
2144
  return [
2152
- new Date(
2153
- Number(yearMonthDay1[0]),
2154
- Number(yearMonthDay1[1]) - 1
2155
- ),
2156
- new Date(
2157
- Number(yearMonthDay2[0]),
2158
- Number(yearMonthDay2[1]) - 1
2159
- )
2145
+ new Date(Number(yearMonthDay1[0]), Number(yearMonthDay1[1]) - 1),
2146
+ new Date(Number(yearMonthDay2[0]), Number(yearMonthDay2[1]) - 1)
2160
2147
  ];
2161
2148
  };
2162
2149
  var TextMaskAdapter5 = React21.forwardRef(
@@ -2194,7 +2181,17 @@ var TextMaskAdapter5 = React21.forwardRef(
2194
2181
  );
2195
2182
  var MonthRangePicker = forwardRef6(
2196
2183
  (props, ref) => {
2197
- const { onChange, disabled, label, error, helperText, minDate, maxDate, disableFuture, disablePast } = props;
2184
+ const {
2185
+ onChange,
2186
+ disabled,
2187
+ label,
2188
+ error,
2189
+ helperText,
2190
+ minDate,
2191
+ maxDate,
2192
+ disableFuture,
2193
+ disablePast
2194
+ } = props;
2198
2195
  const [value, setValue] = useState7(props.value || "");
2199
2196
  const [anchorEl, setAnchorEl] = useState7(null);
2200
2197
  const open = Boolean(anchorEl);
package/framer/index.js CHANGED
@@ -42659,14 +42659,8 @@ var parseDate2 = (str) => {
42659
42659
  const yearMonthDay1 = date1.split("/");
42660
42660
  const yearMonthDay2 = date2.split("/");
42661
42661
  return [
42662
- new Date(
42663
- Number(yearMonthDay1[0]),
42664
- Number(yearMonthDay1[1]) - 1
42665
- ),
42666
- new Date(
42667
- Number(yearMonthDay2[0]),
42668
- Number(yearMonthDay2[1]) - 1
42669
- )
42662
+ new Date(Number(yearMonthDay1[0]), Number(yearMonthDay1[1]) - 1),
42663
+ new Date(Number(yearMonthDay2[0]), Number(yearMonthDay2[1]) - 1)
42670
42664
  ];
42671
42665
  };
42672
42666
  var TextMaskAdapter5 = React183.forwardRef(
@@ -42703,7 +42697,17 @@ var TextMaskAdapter5 = React183.forwardRef(
42703
42697
  );
42704
42698
  var MonthRangePicker = forwardRef86(
42705
42699
  (props, ref) => {
42706
- const { onChange, disabled, label, error, helperText, minDate, maxDate, disableFuture, disablePast } = props;
42700
+ const {
42701
+ onChange,
42702
+ disabled,
42703
+ label,
42704
+ error,
42705
+ helperText,
42706
+ minDate,
42707
+ maxDate,
42708
+ disableFuture,
42709
+ disablePast
42710
+ } = props;
42707
42711
  const [value, setValue] = useState29(props.value || "");
42708
42712
  const [anchorEl, setAnchorEl] = useState29(null);
42709
42713
  const open = Boolean(anchorEl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceed/ads",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",