@sheinx/base 3.5.0-beta.1 → 3.5.0-beta.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.
@@ -1 +1 @@
1
- {"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["modal-content.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoB9D,QAAA,MAAM,KAAK,UAAW,iBAAiB,uBAmVtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["modal-content.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoB9D,QAAA,MAAM,KAAK,UAAW,iBAAiB,uBA+UtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -239,7 +239,7 @@ var Modal = function Modal(props) {
239
239
  }
240
240
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
241
241
  className: modalClasses === null || modalClasses === void 0 ? void 0 : modalClasses.header,
242
- onMouseDown: props.moveable ? moveInfo.handleMouseDown : undefined,
242
+ onMouseDown: props.moveable && !props.fullScreen ? moveInfo.handleMouseDown : undefined,
243
243
  children: [renderIcon(), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
244
244
  className: modalClasses === null || modalClasses === void 0 ? void 0 : modalClasses.headerTitle,
245
245
  children: props.title
@@ -305,7 +305,7 @@ var Modal = function Modal(props) {
305
305
  panelStyle.top = undefined;
306
306
  panelStyle.width = undefined;
307
307
  }
308
- if (props.moveable) {
308
+ if (props.moveable && !props.fullScreen) {
309
309
  panelStyle.transform = "translate(".concat(moveInfo.pos.x, "px, ").concat(moveInfo.pos.y, "px)");
310
310
  }
311
311
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_formFooterContext.FormFooterProvider, {
@@ -1 +1 @@
1
- {"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["modal-content.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoB9D,QAAA,MAAM,KAAK,UAAW,iBAAiB,uBAmVtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["modal-content.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoB9D,QAAA,MAAM,KAAK,UAAW,iBAAiB,uBA+UtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -233,7 +233,7 @@ var Modal = function Modal(props) {
233
233
  }
234
234
  return /*#__PURE__*/_jsxs("div", {
235
235
  className: modalClasses === null || modalClasses === void 0 ? void 0 : modalClasses.header,
236
- onMouseDown: props.moveable ? moveInfo.handleMouseDown : undefined,
236
+ onMouseDown: props.moveable && !props.fullScreen ? moveInfo.handleMouseDown : undefined,
237
237
  children: [renderIcon(), /*#__PURE__*/_jsx("div", {
238
238
  className: modalClasses === null || modalClasses === void 0 ? void 0 : modalClasses.headerTitle,
239
239
  children: props.title
@@ -299,7 +299,7 @@ var Modal = function Modal(props) {
299
299
  panelStyle.top = undefined;
300
300
  panelStyle.width = undefined;
301
301
  }
302
- if (props.moveable) {
302
+ if (props.moveable && !props.fullScreen) {
303
303
  panelStyle.transform = "translate(".concat(moveInfo.pos.x, "px, ").concat(moveInfo.pos.y, "px)");
304
304
  }
305
305
  return /*#__PURE__*/_jsx(FormFooterProvider, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.5.0-beta.1",
3
+ "version": "3.5.0-beta.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.5.0-beta.1",
13
+ "@sheinx/hooks": "3.5.0-beta.2",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"