@ceed/ads 0.0.75 → 0.0.76
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,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const DialogActions: import("
|
|
2
|
+
declare const DialogActions: import("@emotion/styled").StyledComponent<Omit<{
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
buttonFlex?: string | number | undefined;
|
|
5
5
|
orientation?: "horizontal" | "vertical" | "horizontal-reverse" | undefined;
|
|
6
6
|
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
7
7
|
} & import("@mui/joy").DialogActionsSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, "children" | "sx" | "orientation" | "buttonFlex" | keyof import("@mui/joy").DialogActionsSlotsAndSlotProps
|
|
9
|
+
}, "children" | "sx" | "orientation" | "buttonFlex" | keyof import("@mui/joy").DialogActionsSlotsAndSlotProps> & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
10
10
|
export { DialogActions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const DialogContent: import("
|
|
2
|
+
declare const DialogContent: import("@emotion/styled").StyledComponent<Omit<{
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
5
5
|
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
6
6
|
} & import("@mui/joy").DialogContentSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
7
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
-
}, "children" | "sx" | "orientation" | keyof import("@mui/joy").DialogContentSlotsAndSlotProps
|
|
8
|
+
}, "children" | "sx" | "orientation" | keyof import("@mui/joy").DialogContentSlotsAndSlotProps> & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
9
9
|
export { DialogContent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const DialogTitle: import("
|
|
2
|
+
declare const DialogTitle: import("@emotion/styled").StyledComponent<Omit<{
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").DialogTitlePropsColorOverrides> | undefined;
|
|
5
5
|
level?: "inherit" | keyof import("@mui/joy").TypographySystem | undefined;
|
|
@@ -7,5 +7,5 @@ declare const DialogTitle: import("framer-motion").CustomDomComponent<{
|
|
|
7
7
|
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").DialogTitlePropsVariantOverrides> | undefined;
|
|
8
8
|
} & import("@mui/joy").DialogTitleSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
9
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
-
}, "children" | "color" | "variant" | "sx" | "level" | keyof import("@mui/joy").DialogTitleSlotsAndSlotProps
|
|
10
|
+
}, "children" | "color" | "variant" | "sx" | "level" | keyof import("@mui/joy").DialogTitleSlotsAndSlotProps> & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
11
11
|
export { DialogTitle };
|
package/dist/index.js
CHANGED
|
@@ -1614,7 +1614,7 @@ DataTable.displayName = "DataTable";
|
|
|
1614
1614
|
import React15, { forwardRef as forwardRef4, useCallback as useCallback4, useState as useState4 } from "react";
|
|
1615
1615
|
import { IMaskInput, IMask } from "react-imask";
|
|
1616
1616
|
import CalendarTodayIcon from "@mui/icons-material/esm/CalendarToday.js";
|
|
1617
|
-
import { styled as
|
|
1617
|
+
import { styled as styled5 } from "@mui/joy";
|
|
1618
1618
|
import { FocusTrap, ClickAwayListener, Popper } from "@mui/base";
|
|
1619
1619
|
|
|
1620
1620
|
// src/components/Input/Input.tsx
|
|
@@ -1635,23 +1635,29 @@ Input.displayName = "Input";
|
|
|
1635
1635
|
var Input_default = Input;
|
|
1636
1636
|
|
|
1637
1637
|
// src/components/DialogActions/DialogActions.tsx
|
|
1638
|
-
import { DialogActions as JoyDialogActions } from "@mui/joy";
|
|
1638
|
+
import { DialogActions as JoyDialogActions, styled as styled4 } from "@mui/joy";
|
|
1639
1639
|
import { motion as motion16 } from "framer-motion";
|
|
1640
1640
|
var MotionDialogActions = motion16(JoyDialogActions);
|
|
1641
|
-
var
|
|
1641
|
+
var StyledDialogActions = styled4(MotionDialogActions)(({ theme }) => ({
|
|
1642
|
+
padding: theme.spacing(1),
|
|
1643
|
+
gap: theme.spacing(1),
|
|
1644
|
+
flexDirection: "row",
|
|
1645
|
+
justifyContent: "flex-end"
|
|
1646
|
+
}));
|
|
1647
|
+
var DialogActions = StyledDialogActions;
|
|
1642
1648
|
DialogActions.displayName = "DialogActions";
|
|
1643
1649
|
|
|
1644
1650
|
// src/components/DialogActions/index.ts
|
|
1645
1651
|
var DialogActions_default = DialogActions;
|
|
1646
1652
|
|
|
1647
1653
|
// src/components/DatePicker/DatePicker.tsx
|
|
1648
|
-
var StyledPopper =
|
|
1654
|
+
var StyledPopper = styled5(Popper, {
|
|
1649
1655
|
name: "DatePicker",
|
|
1650
1656
|
slot: "popper"
|
|
1651
1657
|
})(({ theme }) => ({
|
|
1652
1658
|
zIndex: theme.zIndex.popup
|
|
1653
1659
|
}));
|
|
1654
|
-
var CalendarSheet =
|
|
1660
|
+
var CalendarSheet = styled5(Sheet_default, {
|
|
1655
1661
|
name: "DatePicker",
|
|
1656
1662
|
slot: "sheet",
|
|
1657
1663
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -1814,15 +1820,15 @@ DatePicker.displayName = "DatePicker";
|
|
|
1814
1820
|
import React16, { forwardRef as forwardRef5, useCallback as useCallback5, useMemo as useMemo4, useState as useState5 } from "react";
|
|
1815
1821
|
import { IMaskInput as IMaskInput2, IMask as IMask2 } from "react-imask";
|
|
1816
1822
|
import CalendarTodayIcon2 from "@mui/icons-material/esm/CalendarToday.js";
|
|
1817
|
-
import { styled as
|
|
1823
|
+
import { styled as styled6 } from "@mui/joy";
|
|
1818
1824
|
import { FocusTrap as FocusTrap2, ClickAwayListener as ClickAwayListener2, Popper as Popper2 } from "@mui/base";
|
|
1819
|
-
var StyledPopper2 =
|
|
1825
|
+
var StyledPopper2 = styled6(Popper2, {
|
|
1820
1826
|
name: "DateRangePicker",
|
|
1821
1827
|
slot: "popper"
|
|
1822
1828
|
})(({ theme }) => ({
|
|
1823
1829
|
zIndex: theme.zIndex.popup
|
|
1824
1830
|
}));
|
|
1825
|
-
var CalendarSheet2 =
|
|
1831
|
+
var CalendarSheet2 = styled6(Sheet_default, {
|
|
1826
1832
|
name: "DateRangePicker",
|
|
1827
1833
|
slot: "sheet",
|
|
1828
1834
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -2008,20 +2014,26 @@ var DateRangePicker = forwardRef5(
|
|
|
2008
2014
|
DateRangePicker.displayName = "DateRangePicker";
|
|
2009
2015
|
|
|
2010
2016
|
// src/components/DialogContent/DialogContent.tsx
|
|
2011
|
-
import { DialogContent as JoyDialogContent } from "@mui/joy";
|
|
2017
|
+
import { DialogContent as JoyDialogContent, styled as styled7 } from "@mui/joy";
|
|
2012
2018
|
import { motion as motion17 } from "framer-motion";
|
|
2013
2019
|
var MotionDialogContent = motion17(JoyDialogContent);
|
|
2014
|
-
var
|
|
2020
|
+
var StyledDialogContent = styled7(MotionDialogContent)(({ theme }) => ({
|
|
2021
|
+
padding: theme.spacing(0, 3, 2.5)
|
|
2022
|
+
}));
|
|
2023
|
+
var DialogContent = StyledDialogContent;
|
|
2015
2024
|
DialogContent.displayName = "DialogContent";
|
|
2016
2025
|
|
|
2017
2026
|
// src/components/DialogContent/index.ts
|
|
2018
2027
|
var DialogContent_default = DialogContent;
|
|
2019
2028
|
|
|
2020
2029
|
// src/components/DialogTitle/DialogTitle.tsx
|
|
2021
|
-
import { DialogTitle as JoyDialogTitle } from "@mui/joy";
|
|
2030
|
+
import { DialogTitle as JoyDialogTitle, styled as styled8 } from "@mui/joy";
|
|
2022
2031
|
import { motion as motion18 } from "framer-motion";
|
|
2023
2032
|
var MotionDialogTitle = motion18(JoyDialogTitle);
|
|
2024
|
-
var
|
|
2033
|
+
var StyledDialogTitle = styled8(MotionDialogTitle)(({ theme }) => ({
|
|
2034
|
+
padding: theme.spacing(2, 3)
|
|
2035
|
+
}));
|
|
2036
|
+
var DialogTitle = StyledDialogTitle;
|
|
2025
2037
|
DialogTitle.displayName = "DialogTitle";
|
|
2026
2038
|
|
|
2027
2039
|
// src/components/DialogTitle/index.ts
|
|
@@ -2058,9 +2070,13 @@ function ModalFrame(props) {
|
|
|
2058
2070
|
ModalFrame.displayName = "ModalFrame";
|
|
2059
2071
|
|
|
2060
2072
|
// src/components/DialogFrame/DialogFrame.tsx
|
|
2073
|
+
import { styled as styled9 } from "@mui/joy";
|
|
2074
|
+
var StyledDialogFrame = styled9(ModalDialog)(({ theme }) => ({
|
|
2075
|
+
padding: 0
|
|
2076
|
+
}));
|
|
2061
2077
|
function DialogFrame(props) {
|
|
2062
2078
|
const { title, children, actions, ...innerProps } = props;
|
|
2063
|
-
return /* @__PURE__ */ React18.createElement(
|
|
2079
|
+
return /* @__PURE__ */ React18.createElement(StyledDialogFrame, { ...innerProps }, /* @__PURE__ */ React18.createElement(DialogTitle_default, null, title), /* @__PURE__ */ React18.createElement(DialogContent_default, null, children), /* @__PURE__ */ React18.createElement(DialogActions_default, null, actions));
|
|
2064
2080
|
}
|
|
2065
2081
|
DialogFrame.displayName = "DialogFrame";
|
|
2066
2082
|
|
|
@@ -2113,15 +2129,15 @@ Grid.displayName = "Grid";
|
|
|
2113
2129
|
import React21, { forwardRef as forwardRef6, useCallback as useCallback6, useMemo as useMemo5, useState as useState6 } from "react";
|
|
2114
2130
|
import { IMaskInput as IMaskInput3, IMask as IMask3 } from "react-imask";
|
|
2115
2131
|
import CalendarTodayIcon3 from "@mui/icons-material/esm/CalendarToday.js";
|
|
2116
|
-
import { styled as
|
|
2132
|
+
import { styled as styled10 } from "@mui/joy";
|
|
2117
2133
|
import { FocusTrap as FocusTrap3, ClickAwayListener as ClickAwayListener3, Popper as Popper3 } from "@mui/base";
|
|
2118
|
-
var StyledPopper3 =
|
|
2134
|
+
var StyledPopper3 = styled10(Popper3, {
|
|
2119
2135
|
name: "MonthRangePicker",
|
|
2120
2136
|
slot: "popper"
|
|
2121
2137
|
})(({ theme }) => ({
|
|
2122
2138
|
zIndex: theme.zIndex.popup
|
|
2123
2139
|
}));
|
|
2124
|
-
var CalendarSheet3 =
|
|
2140
|
+
var CalendarSheet3 = styled10(Sheet_default, {
|
|
2125
2141
|
name: "MonthRangePicker",
|
|
2126
2142
|
slot: "sheet",
|
|
2127
2143
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -2347,12 +2363,12 @@ Select.displayName = "Select";
|
|
|
2347
2363
|
import React24 from "react";
|
|
2348
2364
|
import {
|
|
2349
2365
|
Switch as JoySwitch,
|
|
2350
|
-
styled as
|
|
2366
|
+
styled as styled11,
|
|
2351
2367
|
switchClasses
|
|
2352
2368
|
} from "@mui/joy";
|
|
2353
2369
|
import { motion as motion25 } from "framer-motion";
|
|
2354
2370
|
var MotionSwitch = motion25(JoySwitch);
|
|
2355
|
-
var StyledThumb =
|
|
2371
|
+
var StyledThumb = styled11(motion25.div)({
|
|
2356
2372
|
"--Icon-fontSize": "calc(var(--Switch-thumbSize) * 0.75)",
|
|
2357
2373
|
display: "inline-flex",
|
|
2358
2374
|
justifyContent: "center",
|
package/framer/index.js
CHANGED
|
@@ -40753,7 +40753,13 @@ var Input_default2 = Input3;
|
|
|
40753
40753
|
// src/components/DialogActions/DialogActions.tsx
|
|
40754
40754
|
import { motion as motion16 } from "framer-motion";
|
|
40755
40755
|
var MotionDialogActions = motion16(DialogActions_default);
|
|
40756
|
-
var
|
|
40756
|
+
var StyledDialogActions = styled_default2(MotionDialogActions)(({ theme }) => ({
|
|
40757
|
+
padding: theme.spacing(1),
|
|
40758
|
+
gap: theme.spacing(1),
|
|
40759
|
+
flexDirection: "row",
|
|
40760
|
+
justifyContent: "flex-end"
|
|
40761
|
+
}));
|
|
40762
|
+
var DialogActions3 = StyledDialogActions;
|
|
40757
40763
|
DialogActions3.displayName = "DialogActions";
|
|
40758
40764
|
|
|
40759
40765
|
// src/components/DialogActions/index.ts
|
|
@@ -41139,7 +41145,10 @@ DateRangePicker.displayName = "DateRangePicker";
|
|
|
41139
41145
|
// src/components/DialogContent/DialogContent.tsx
|
|
41140
41146
|
import { motion as motion17 } from "framer-motion";
|
|
41141
41147
|
var MotionDialogContent = motion17(DialogContent_default);
|
|
41142
|
-
var
|
|
41148
|
+
var StyledDialogContent = styled_default2(MotionDialogContent)(({ theme }) => ({
|
|
41149
|
+
padding: theme.spacing(0, 3, 2.5)
|
|
41150
|
+
}));
|
|
41151
|
+
var DialogContent3 = StyledDialogContent;
|
|
41143
41152
|
DialogContent3.displayName = "DialogContent";
|
|
41144
41153
|
|
|
41145
41154
|
// src/components/DialogContent/index.ts
|
|
@@ -41148,7 +41157,10 @@ var DialogContent_default2 = DialogContent3;
|
|
|
41148
41157
|
// src/components/DialogTitle/DialogTitle.tsx
|
|
41149
41158
|
import { motion as motion18 } from "framer-motion";
|
|
41150
41159
|
var MotionDialogTitle = motion18(DialogTitle_default);
|
|
41151
|
-
var
|
|
41160
|
+
var StyledDialogTitle = styled_default2(MotionDialogTitle)(({ theme }) => ({
|
|
41161
|
+
padding: theme.spacing(2, 3)
|
|
41162
|
+
}));
|
|
41163
|
+
var DialogTitle3 = StyledDialogTitle;
|
|
41152
41164
|
DialogTitle3.displayName = "DialogTitle";
|
|
41153
41165
|
|
|
41154
41166
|
// src/components/DialogTitle/index.ts
|
|
@@ -41179,9 +41191,12 @@ function ModalFrame(props) {
|
|
|
41179
41191
|
ModalFrame.displayName = "ModalFrame";
|
|
41180
41192
|
|
|
41181
41193
|
// src/components/DialogFrame/DialogFrame.tsx
|
|
41194
|
+
var StyledDialogFrame = styled_default2(ModalDialog3)(({ theme }) => ({
|
|
41195
|
+
padding: 0
|
|
41196
|
+
}));
|
|
41182
41197
|
function DialogFrame(props) {
|
|
41183
41198
|
const _a = props, { title, children, actions } = _a, innerProps = __objRest(_a, ["title", "children", "actions"]);
|
|
41184
|
-
return /* @__PURE__ */ jsxs2(
|
|
41199
|
+
return /* @__PURE__ */ jsxs2(StyledDialogFrame, __spreadProps(__spreadValues({}, innerProps), { children: [
|
|
41185
41200
|
/* @__PURE__ */ jsx2(DialogTitle_default2, { children: title }),
|
|
41186
41201
|
/* @__PURE__ */ jsx2(DialogContent_default2, { children }),
|
|
41187
41202
|
/* @__PURE__ */ jsx2(DialogActions_default2, { children: actions })
|
|
@@ -41869,8 +41884,16 @@ var checkboxPropertyControls = {
|
|
|
41869
41884
|
color: {
|
|
41870
41885
|
title: "Color",
|
|
41871
41886
|
type: ControlType7.Enum,
|
|
41872
|
-
options: ["primary", "neutral", "danger", "success", "warning"],
|
|
41873
|
-
optionTitles: [
|
|
41887
|
+
options: [void 0, "primary", "neutral", "danger", "success", "warning"],
|
|
41888
|
+
optionTitles: [
|
|
41889
|
+
"Default",
|
|
41890
|
+
"Primary",
|
|
41891
|
+
"Neutral",
|
|
41892
|
+
"Danger",
|
|
41893
|
+
"Success",
|
|
41894
|
+
"Warning"
|
|
41895
|
+
],
|
|
41896
|
+
defaultValue: void 0
|
|
41874
41897
|
},
|
|
41875
41898
|
size: {
|
|
41876
41899
|
title: "Size",
|