@zat-design/sisyphus-react 4.5.6-beta.4 → 4.5.6

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.
@@ -5,6 +5,8 @@ import classNames from 'classnames';
5
5
  import foldSvg from "../../../assets/fold.svg";
6
6
  import ProIcon from "../../../ProIcon/index";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
+ const OPEN_ACTIVE_KEYS = ['1'];
9
+ const CLOSED_ACTIVE_KEYS = [];
8
10
  const ProCollapse = props => {
9
11
  const {
10
12
  title,
@@ -34,7 +36,7 @@ const ProCollapse = props => {
34
36
  ...collapseProps
35
37
  };
36
38
  if (open !== undefined && !('activeKey' in finalCollapseProps)) {
37
- finalCollapseProps.activeKey = open ? ['1'] : [];
39
+ finalCollapseProps.activeKey = open ? OPEN_ACTIVE_KEYS : CLOSED_ACTIVE_KEYS;
38
40
  }
39
41
  const cls = classNames({
40
42
  'pro-collapse': true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "4.5.6-beta.4",
3
+ "version": "4.5.6",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "es",
@@ -78,6 +78,7 @@
78
78
  "pack:mcp": "npm run build:ai-meta && cd packages/sisyphus-react-mcp && npm pack --dry-run",
79
79
  "release": "yarn build && npm publish",
80
80
  "release:mcp": "npm run build:ai-meta && cd packages/sisyphus-react-mcp && npm publish",
81
+ "release:scene": "cd sisyphus-agent/sisyphus-scene && npm publish --access public",
81
82
  "release:beta": "yarn build && npm publish --tag=beta",
82
83
  "start": "cross-env NODE_OPTIONS=\"--openssl-legacy-provider\" dumi dev",
83
84
  "test": "umi-test",