@ceed/ads 1.5.0 → 1.5.1
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.
- package/dist/components/Modal/Modal.d.ts +2 -8
- package/dist/index.cjs +13 -8
- package/dist/index.js +25 -13
- package/framer/index.js +37 -37
- package/package.json +1 -1
|
@@ -21,14 +21,7 @@ declare const ModalDialog: import("@emotion/styled").StyledComponent<{
|
|
|
21
21
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
22
22
|
}, "children" | "layout" | "color" | "maxWidth" | "minWidth" | "variant" | "sx" | "size" | "invertedColors" | "orientation" | keyof import("@mui/joy").ModalDialogSlotsAndSlotProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
23
23
|
export { ModalDialog };
|
|
24
|
-
declare const ModalClose: import("@
|
|
25
|
-
color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").ModalClosePropsColorOverrides> | undefined;
|
|
26
|
-
size?: import("@mui/types").OverridableStringUnion<"sm" | "md" | "lg", import("@mui/joy").ModalClosePropsSizeOverrides> | undefined;
|
|
27
|
-
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
28
|
-
variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").ModalClosePropsVariantOverrides> | undefined;
|
|
29
|
-
} & import("@mui/joy").ModalCloseSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
30
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
31
|
-
}, "color" | "variant" | "sx" | "size" | keyof import("@mui/joy").ModalCloseSlotsAndSlotProps> & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/joy").Theme>, {}, {}>;
|
|
24
|
+
declare const ModalClose: import("@mui/types").OverridableComponent<import("@mui/joy").ModalCloseTypeMap<{}, "button">>;
|
|
32
25
|
export { ModalClose };
|
|
33
26
|
declare const ModalOverflow: import("framer-motion").CustomDomComponent<{
|
|
34
27
|
sx?: import("@mui/joy/styles/types").SxProps | undefined;
|
|
@@ -40,6 +33,7 @@ declare function ModalFrame(props: {
|
|
|
40
33
|
title: React.ReactNode;
|
|
41
34
|
children: React.ReactNode;
|
|
42
35
|
titleStartDecorator?: React.ReactNode;
|
|
36
|
+
onClose?: () => void;
|
|
43
37
|
} & React.ComponentProps<typeof ModalDialog>): React.JSX.Element;
|
|
44
38
|
declare namespace ModalFrame {
|
|
45
39
|
var displayName: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2978,6 +2978,16 @@ var VirtualizedTableBody = (0, import_joy33.styled)("tbody", {
|
|
|
2978
2978
|
content: "''",
|
|
2979
2979
|
display: "block",
|
|
2980
2980
|
height: "0.01em"
|
|
2981
|
+
},
|
|
2982
|
+
// NOTE: 테이블 안에 버튼을 넣을 때 버튼의 높이가 테이블의 높이를 넘어가지 않도록 설정
|
|
2983
|
+
[`& .${import_joy33.buttonClasses.root}`]: {
|
|
2984
|
+
"--Button-minHeight": "20px",
|
|
2985
|
+
"--Button-paddingBlock": "0.25rem",
|
|
2986
|
+
lineHeight: 1
|
|
2987
|
+
},
|
|
2988
|
+
[`& .${import_joy33.iconButtonClasses.root}`]: {
|
|
2989
|
+
"--IconButton-size": "21px",
|
|
2990
|
+
verticalAlign: "middle"
|
|
2981
2991
|
}
|
|
2982
2992
|
});
|
|
2983
2993
|
var StyledTableRow = (0, import_joy33.styled)("tr", {
|
|
@@ -4294,18 +4304,13 @@ var StyledModalDialog = (0, import_joy37.styled)(import_joy37.ModalDialog)({
|
|
|
4294
4304
|
});
|
|
4295
4305
|
var ModalDialog = StyledModalDialog;
|
|
4296
4306
|
ModalDialog.displayName = "ModalDialog";
|
|
4297
|
-
var
|
|
4298
|
-
top: theme.spacing(3),
|
|
4299
|
-
right: theme.spacing(6)
|
|
4300
|
-
}));
|
|
4301
|
-
var ModalClose = MotionModalClose;
|
|
4302
|
-
ModalClose.displayName = "ModalClose";
|
|
4307
|
+
var ModalClose = import_joy37.ModalClose;
|
|
4303
4308
|
var MotionModalOverflow = (0, import_framer_motion24.motion)(import_joy37.ModalOverflow);
|
|
4304
4309
|
var ModalOverflow = MotionModalOverflow;
|
|
4305
4310
|
ModalOverflow.displayName = "ModalOverflow";
|
|
4306
4311
|
function ModalFrame(props) {
|
|
4307
|
-
const { title, children, titleStartDecorator, ...innerProps } = props;
|
|
4308
|
-
return /* @__PURE__ */ import_react27.default.createElement(StyledModalDialog, { ...innerProps }, /* @__PURE__ */ import_react27.default.createElement(ModalClose,
|
|
4312
|
+
const { title, children, titleStartDecorator, onClose, ...innerProps } = props;
|
|
4313
|
+
return /* @__PURE__ */ import_react27.default.createElement(StyledModalDialog, { ...innerProps }, /* @__PURE__ */ import_react27.default.createElement(ModalClose, { onClick: onClose }), /* @__PURE__ */ import_react27.default.createElement(DialogTitle_default, null, titleStartDecorator, title), /* @__PURE__ */ import_react27.default.createElement(DialogContent_default, null, children));
|
|
4309
4314
|
}
|
|
4310
4315
|
ModalFrame.displayName = "ModalFrame";
|
|
4311
4316
|
|
package/dist/index.js
CHANGED
|
@@ -62,10 +62,10 @@ import {
|
|
|
62
62
|
ButtonGroup,
|
|
63
63
|
alertClasses,
|
|
64
64
|
boxClasses,
|
|
65
|
-
buttonClasses,
|
|
65
|
+
buttonClasses as buttonClasses2,
|
|
66
66
|
checkboxClasses as checkboxClasses2,
|
|
67
67
|
dividerClasses,
|
|
68
|
-
iconButtonClasses,
|
|
68
|
+
iconButtonClasses as iconButtonClasses2,
|
|
69
69
|
inputClasses as inputClasses2,
|
|
70
70
|
menuClasses,
|
|
71
71
|
menuButtonClasses,
|
|
@@ -2004,7 +2004,14 @@ import React23, {
|
|
|
2004
2004
|
memo
|
|
2005
2005
|
} from "react";
|
|
2006
2006
|
import { useVirtualizer as useVirtualizer2 } from "@tanstack/react-virtual";
|
|
2007
|
-
import {
|
|
2007
|
+
import {
|
|
2008
|
+
styled as styled12,
|
|
2009
|
+
LinearProgress,
|
|
2010
|
+
Link,
|
|
2011
|
+
useTheme,
|
|
2012
|
+
buttonClasses,
|
|
2013
|
+
iconButtonClasses
|
|
2014
|
+
} from "@mui/joy";
|
|
2008
2015
|
import SortIcon from "@mui/icons-material/ArrowUpwardRounded";
|
|
2009
2016
|
|
|
2010
2017
|
// src/components/Sheet/Sheet.tsx
|
|
@@ -2928,6 +2935,16 @@ var VirtualizedTableBody = styled12("tbody", {
|
|
|
2928
2935
|
content: "''",
|
|
2929
2936
|
display: "block",
|
|
2930
2937
|
height: "0.01em"
|
|
2938
|
+
},
|
|
2939
|
+
// NOTE: 테이블 안에 버튼을 넣을 때 버튼의 높이가 테이블의 높이를 넘어가지 않도록 설정
|
|
2940
|
+
[`& .${buttonClasses.root}`]: {
|
|
2941
|
+
"--Button-minHeight": "20px",
|
|
2942
|
+
"--Button-paddingBlock": "0.25rem",
|
|
2943
|
+
lineHeight: 1
|
|
2944
|
+
},
|
|
2945
|
+
[`& .${iconButtonClasses.root}`]: {
|
|
2946
|
+
"--IconButton-size": "21px",
|
|
2947
|
+
verticalAlign: "middle"
|
|
2931
2948
|
}
|
|
2932
2949
|
});
|
|
2933
2950
|
var StyledTableRow = styled12("tr", {
|
|
@@ -4258,18 +4275,13 @@ var StyledModalDialog = styled16(JoyModalDialog)({
|
|
|
4258
4275
|
});
|
|
4259
4276
|
var ModalDialog = StyledModalDialog;
|
|
4260
4277
|
ModalDialog.displayName = "ModalDialog";
|
|
4261
|
-
var
|
|
4262
|
-
top: theme.spacing(3),
|
|
4263
|
-
right: theme.spacing(6)
|
|
4264
|
-
}));
|
|
4265
|
-
var ModalClose = MotionModalClose;
|
|
4266
|
-
ModalClose.displayName = "ModalClose";
|
|
4278
|
+
var ModalClose = JoyModalClose;
|
|
4267
4279
|
var MotionModalOverflow = motion24(JoyModalOverflow);
|
|
4268
4280
|
var ModalOverflow = MotionModalOverflow;
|
|
4269
4281
|
ModalOverflow.displayName = "ModalOverflow";
|
|
4270
4282
|
function ModalFrame(props) {
|
|
4271
|
-
const { title, children, titleStartDecorator, ...innerProps } = props;
|
|
4272
|
-
return /* @__PURE__ */ React25.createElement(StyledModalDialog, { ...innerProps }, /* @__PURE__ */ React25.createElement(ModalClose,
|
|
4283
|
+
const { title, children, titleStartDecorator, onClose, ...innerProps } = props;
|
|
4284
|
+
return /* @__PURE__ */ React25.createElement(StyledModalDialog, { ...innerProps }, /* @__PURE__ */ React25.createElement(ModalClose, { onClick: onClose }), /* @__PURE__ */ React25.createElement(DialogTitle_default, null, titleStartDecorator, title), /* @__PURE__ */ React25.createElement(DialogContent_default, null, children));
|
|
4273
4285
|
}
|
|
4274
4286
|
ModalFrame.displayName = "ModalFrame";
|
|
4275
4287
|
|
|
@@ -6378,7 +6390,7 @@ export {
|
|
|
6378
6390
|
badgeClasses,
|
|
6379
6391
|
boxClasses,
|
|
6380
6392
|
breadcrumbsClasses,
|
|
6381
|
-
buttonClasses,
|
|
6393
|
+
buttonClasses2 as buttonClasses,
|
|
6382
6394
|
cardActionsClasses,
|
|
6383
6395
|
cardClasses,
|
|
6384
6396
|
cardContentClasses,
|
|
@@ -6397,7 +6409,7 @@ export {
|
|
|
6397
6409
|
formHelperTextClasses,
|
|
6398
6410
|
formLabelClasses,
|
|
6399
6411
|
gridClasses,
|
|
6400
|
-
iconButtonClasses,
|
|
6412
|
+
iconButtonClasses2 as iconButtonClasses,
|
|
6401
6413
|
inputClasses2 as inputClasses,
|
|
6402
6414
|
linearProgressClasses,
|
|
6403
6415
|
linkClasses,
|