@ceed/cds 1.2.3 → 1.2.4-next.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/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: true, size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ import_react22.default.createElement(
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,12 +4130,13 @@ 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: {
@@ -4146,6 +4148,14 @@ var Drawer = (props) => {
4146
4148
  width: "100%"
4147
4149
  }
4148
4150
  }
4151
+ },
4152
+ // HACK: MUI 5 & 6 버전을 함께 사용하면서 @mui/base & @mui/system 의 참조가 꼬인다. 전부 mui 6 기반으로 업그레이드 하기 전까지는 임시로 아래와 같이 복제하여 사용한다.
4153
+ root: {
4154
+ "--Drawer-horizontalSize": {
4155
+ sm: "360px",
4156
+ md: "600px",
4157
+ lg: "900px"
4158
+ }[size]
4149
4159
  }
4150
4160
  },
4151
4161
  sx: {
@@ -4154,7 +4164,7 @@ var Drawer = (props) => {
4154
4164
  sm: "360px",
4155
4165
  md: "600px",
4156
4166
  lg: "900px"
4157
- }[size || "md"]
4167
+ }[size]
4158
4168
  }
4159
4169
  },
4160
4170
  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: true, size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ React20.createElement(
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,12 +4098,13 @@ 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: {
@@ -4114,6 +4116,14 @@ var Drawer = (props) => {
4114
4116
  width: "100%"
4115
4117
  }
4116
4118
  }
4119
+ },
4120
+ // HACK: MUI 5 & 6 버전을 함께 사용하면서 @mui/base & @mui/system 의 참조가 꼬인다. 전부 mui 6 기반으로 업그레이드 하기 전까지는 임시로 아래와 같이 복제하여 사용한다.
4121
+ root: {
4122
+ "--Drawer-horizontalSize": {
4123
+ sm: "360px",
4124
+ md: "600px",
4125
+ lg: "900px"
4126
+ }[size]
4117
4127
  }
4118
4128
  },
4119
4129
  sx: {
@@ -4122,7 +4132,7 @@ var Drawer = (props) => {
4122
4132
  sm: "360px",
4123
4133
  md: "600px",
4124
4134
  lg: "900px"
4125
- }[size || "md"]
4135
+ }[size]
4126
4136
  }
4127
4137
  },
4128
4138
  children