@ceed/cds 1.2.4-next.1 → 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 CHANGED
@@ -4142,6 +4142,8 @@ var Drawer = (props) => {
4142
4142
  content: {
4143
4143
  ...innerProps.slotProps?.content,
4144
4144
  sx: {
4145
+ // @ts-expect-error: slotProps 는 fn을 넘길수 있어서 인터페이스 에러가 발생하지만 우리는 커스텀을 이정도로 허용하지 않을것이라 무시하고 쓴다.
4146
+ ...innerProps.slotProps?.content?.sx,
4145
4147
  bgcolor: "transparent",
4146
4148
  boxShadow: "none",
4147
4149
  [theme.breakpoints.down("md")]: {
@@ -4151,11 +4153,16 @@ var Drawer = (props) => {
4151
4153
  },
4152
4154
  // HACK: MUI 5 & 6 버전을 함께 사용하면서 @mui/base & @mui/system 의 참조가 꼬인다. 전부 mui 6 기반으로 업그레이드 하기 전까지는 임시로 아래와 같이 복제하여 사용한다.
4153
4155
  root: {
4154
- "--Drawer-horizontalSize": {
4155
- sm: "360px",
4156
- md: "600px",
4157
- lg: "900px"
4158
- }[size]
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
+ }
4159
4166
  }
4160
4167
  },
4161
4168
  sx: {
package/dist/index.js CHANGED
@@ -4110,6 +4110,8 @@ var Drawer = (props) => {
4110
4110
  content: {
4111
4111
  ...innerProps.slotProps?.content,
4112
4112
  sx: {
4113
+ // @ts-expect-error: slotProps 는 fn을 넘길수 있어서 인터페이스 에러가 발생하지만 우리는 커스텀을 이정도로 허용하지 않을것이라 무시하고 쓴다.
4114
+ ...innerProps.slotProps?.content?.sx,
4113
4115
  bgcolor: "transparent",
4114
4116
  boxShadow: "none",
4115
4117
  [theme.breakpoints.down("md")]: {
@@ -4119,11 +4121,16 @@ var Drawer = (props) => {
4119
4121
  },
4120
4122
  // HACK: MUI 5 & 6 버전을 함께 사용하면서 @mui/base & @mui/system 의 참조가 꼬인다. 전부 mui 6 기반으로 업그레이드 하기 전까지는 임시로 아래와 같이 복제하여 사용한다.
4121
4123
  root: {
4122
- "--Drawer-horizontalSize": {
4123
- sm: "360px",
4124
- md: "600px",
4125
- lg: "900px"
4126
- }[size]
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
+ }
4127
4134
  }
4128
4135
  },
4129
4136
  sx: {