@icos-react/largemodel 1.0.25 → 1.0.26

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.js CHANGED
@@ -8973,6 +8973,11 @@ var ChatButton = (0, import_react25.forwardRef)(
8973
8973
  const leftVal = typeof windowPosition.left === "number" ? windowPosition.left : parseFloat(String(windowPosition.left)) || 0;
8974
8974
  base.left = leftVal - gap - humanW;
8975
8975
  }
8976
+ const winCustom = customStyle?.window;
8977
+ if (winCustom?.marginTop !== void 0)
8978
+ base.marginTop = winCustom.marginTop;
8979
+ if (winCustom?.marginBottom !== void 0)
8980
+ base.marginBottom = winCustom.marginBottom;
8976
8981
  if (windowPosition.bottom !== void 0) {
8977
8982
  base.bottom = typeof windowPosition.bottom === "number" ? windowPosition.bottom : windowPosition.bottom;
8978
8983
  } else if (windowPosition.top !== void 0) {
package/dist/index.mjs CHANGED
@@ -8939,6 +8939,11 @@ var ChatButton = forwardRef8(
8939
8939
  const leftVal = typeof windowPosition.left === "number" ? windowPosition.left : parseFloat(String(windowPosition.left)) || 0;
8940
8940
  base.left = leftVal - gap - humanW;
8941
8941
  }
8942
+ const winCustom = customStyle?.window;
8943
+ if (winCustom?.marginTop !== void 0)
8944
+ base.marginTop = winCustom.marginTop;
8945
+ if (winCustom?.marginBottom !== void 0)
8946
+ base.marginBottom = winCustom.marginBottom;
8942
8947
  if (windowPosition.bottom !== void 0) {
8943
8948
  base.bottom = typeof windowPosition.bottom === "number" ? windowPosition.bottom : windowPosition.bottom;
8944
8949
  } else if (windowPosition.top !== void 0) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icos-react/largemodel",
3
3
  "displayName": "大模型组件",
4
- "version": "1.0.25",
4
+ "version": "1.0.26",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",