@ceed/cds 1.2.3 → 1.2.4-next.2
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/index.cjs +20 -3
- package/dist/index.js +20 -3
- package/framer/index.js +16 -16
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -2781,7 +2781,7 @@ function Pagination(props) {
|
|
|
2781
2781
|
onClick: () => handlePageChange(p)
|
|
2782
2782
|
},
|
|
2783
2783
|
p
|
|
2784
|
-
)), /* @__PURE__ */ import_react22.default.createElement(PaginationButton, { active:
|
|
2784
|
+
)), /* @__PURE__ */ import_react22.default.createElement(PaginationButton, { active: "active", size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ import_react22.default.createElement(
|
|
2785
2785
|
PaginationButton,
|
|
2786
2786
|
{
|
|
2787
2787
|
key: p,
|
|
@@ -3595,6 +3595,7 @@ function Component(props, apiRef) {
|
|
|
3595
3595
|
background: backgroundProps = {}
|
|
3596
3596
|
} = {},
|
|
3597
3597
|
stripe,
|
|
3598
|
+
isTotalSelected: ___________,
|
|
3598
3599
|
...innerProps
|
|
3599
3600
|
} = props;
|
|
3600
3601
|
const tableId = (0, import_react24.useId)();
|
|
@@ -4129,23 +4130,39 @@ var import_joy34 = require("@mui/joy");
|
|
|
4129
4130
|
var import_framer_motion21 = require("framer-motion");
|
|
4130
4131
|
var MotionDrawer = (0, import_framer_motion21.motion)(import_joy34.Drawer);
|
|
4131
4132
|
var Drawer = (props) => {
|
|
4132
|
-
const { children, size, ...innerProps } = props;
|
|
4133
|
+
const { children, size = "md", ...innerProps } = props;
|
|
4133
4134
|
const theme = (0, import_joy34.useTheme)();
|
|
4134
4135
|
return /* @__PURE__ */ import_react26.default.createElement(
|
|
4135
4136
|
MotionDrawer,
|
|
4136
4137
|
{
|
|
4137
4138
|
...innerProps,
|
|
4139
|
+
size,
|
|
4138
4140
|
slotProps: {
|
|
4139
4141
|
...innerProps.slotProps,
|
|
4140
4142
|
content: {
|
|
4141
4143
|
...innerProps.slotProps?.content,
|
|
4142
4144
|
sx: {
|
|
4145
|
+
// @ts-expect-error: slotProps 는 fn을 넘길수 있어서 인터페이스 에러가 발생하지만 우리는 커스텀을 이정도로 허용하지 않을것이라 무시하고 쓴다.
|
|
4146
|
+
...innerProps.slotProps?.content?.sx,
|
|
4143
4147
|
bgcolor: "transparent",
|
|
4144
4148
|
boxShadow: "none",
|
|
4145
4149
|
[theme.breakpoints.down("md")]: {
|
|
4146
4150
|
width: "100%"
|
|
4147
4151
|
}
|
|
4148
4152
|
}
|
|
4153
|
+
},
|
|
4154
|
+
// HACK: MUI 5 & 6 버전을 함께 사용하면서 @mui/base & @mui/system 의 참조가 꼬인다. 전부 mui 6 기반으로 업그레이드 하기 전까지는 임시로 아래와 같이 복제하여 사용한다.
|
|
4155
|
+
root: {
|
|
4156
|
+
...innerProps.slotProps?.root,
|
|
4157
|
+
sx: {
|
|
4158
|
+
// @ts-expect-error: slotProps 는 fn을 넘길수 있어서 인터페이스 에러가 발생하지만 우리는 커스텀을 이정도로 허용하지 않을것이라 무시하고 쓴다.
|
|
4159
|
+
...innerProps.slotProps?.root?.sx,
|
|
4160
|
+
"--Drawer-horizontalSize": {
|
|
4161
|
+
sm: "360px",
|
|
4162
|
+
md: "600px",
|
|
4163
|
+
lg: "900px"
|
|
4164
|
+
}[size]
|
|
4165
|
+
}
|
|
4149
4166
|
}
|
|
4150
4167
|
},
|
|
4151
4168
|
sx: {
|
|
@@ -4154,7 +4171,7 @@ var Drawer = (props) => {
|
|
|
4154
4171
|
sm: "360px",
|
|
4155
4172
|
md: "600px",
|
|
4156
4173
|
lg: "900px"
|
|
4157
|
-
}[size
|
|
4174
|
+
}[size]
|
|
4158
4175
|
}
|
|
4159
4176
|
},
|
|
4160
4177
|
children
|
package/dist/index.js
CHANGED
|
@@ -2738,7 +2738,7 @@ function Pagination(props) {
|
|
|
2738
2738
|
onClick: () => handlePageChange(p)
|
|
2739
2739
|
},
|
|
2740
2740
|
p
|
|
2741
|
-
)), /* @__PURE__ */ React20.createElement(PaginationButton, { active:
|
|
2741
|
+
)), /* @__PURE__ */ React20.createElement(PaginationButton, { active: "active", size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ React20.createElement(
|
|
2742
2742
|
PaginationButton,
|
|
2743
2743
|
{
|
|
2744
2744
|
key: p,
|
|
@@ -3555,6 +3555,7 @@ function Component(props, apiRef) {
|
|
|
3555
3555
|
background: backgroundProps = {}
|
|
3556
3556
|
} = {},
|
|
3557
3557
|
stripe,
|
|
3558
|
+
isTotalSelected: ___________,
|
|
3558
3559
|
...innerProps
|
|
3559
3560
|
} = props;
|
|
3560
3561
|
const tableId = useId();
|
|
@@ -4097,23 +4098,39 @@ import { Drawer as JoyDrawer, useTheme as useTheme2 } from "@mui/joy";
|
|
|
4097
4098
|
import { motion as motion21 } from "framer-motion";
|
|
4098
4099
|
var MotionDrawer = motion21(JoyDrawer);
|
|
4099
4100
|
var Drawer = (props) => {
|
|
4100
|
-
const { children, size, ...innerProps } = props;
|
|
4101
|
+
const { children, size = "md", ...innerProps } = props;
|
|
4101
4102
|
const theme = useTheme2();
|
|
4102
4103
|
return /* @__PURE__ */ React24.createElement(
|
|
4103
4104
|
MotionDrawer,
|
|
4104
4105
|
{
|
|
4105
4106
|
...innerProps,
|
|
4107
|
+
size,
|
|
4106
4108
|
slotProps: {
|
|
4107
4109
|
...innerProps.slotProps,
|
|
4108
4110
|
content: {
|
|
4109
4111
|
...innerProps.slotProps?.content,
|
|
4110
4112
|
sx: {
|
|
4113
|
+
// @ts-expect-error: slotProps 는 fn을 넘길수 있어서 인터페이스 에러가 발생하지만 우리는 커스텀을 이정도로 허용하지 않을것이라 무시하고 쓴다.
|
|
4114
|
+
...innerProps.slotProps?.content?.sx,
|
|
4111
4115
|
bgcolor: "transparent",
|
|
4112
4116
|
boxShadow: "none",
|
|
4113
4117
|
[theme.breakpoints.down("md")]: {
|
|
4114
4118
|
width: "100%"
|
|
4115
4119
|
}
|
|
4116
4120
|
}
|
|
4121
|
+
},
|
|
4122
|
+
// HACK: MUI 5 & 6 버전을 함께 사용하면서 @mui/base & @mui/system 의 참조가 꼬인다. 전부 mui 6 기반으로 업그레이드 하기 전까지는 임시로 아래와 같이 복제하여 사용한다.
|
|
4123
|
+
root: {
|
|
4124
|
+
...innerProps.slotProps?.root,
|
|
4125
|
+
sx: {
|
|
4126
|
+
// @ts-expect-error: slotProps 는 fn을 넘길수 있어서 인터페이스 에러가 발생하지만 우리는 커스텀을 이정도로 허용하지 않을것이라 무시하고 쓴다.
|
|
4127
|
+
...innerProps.slotProps?.root?.sx,
|
|
4128
|
+
"--Drawer-horizontalSize": {
|
|
4129
|
+
sm: "360px",
|
|
4130
|
+
md: "600px",
|
|
4131
|
+
lg: "900px"
|
|
4132
|
+
}[size]
|
|
4133
|
+
}
|
|
4117
4134
|
}
|
|
4118
4135
|
},
|
|
4119
4136
|
sx: {
|
|
@@ -4122,7 +4139,7 @@ var Drawer = (props) => {
|
|
|
4122
4139
|
sm: "360px",
|
|
4123
4140
|
md: "600px",
|
|
4124
4141
|
lg: "900px"
|
|
4125
|
-
}[size
|
|
4142
|
+
}[size]
|
|
4126
4143
|
}
|
|
4127
4144
|
},
|
|
4128
4145
|
children
|