@coding-flow/flow-design 0.0.18 → 0.0.19

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 { DesignPanelLayout } from "./layout/index.js";
5
5
  const DesignPanel = (props)=>/*#__PURE__*/ jsx(Drawer, {
6
6
  open: props.open,
7
7
  onClose: props.onClose,
8
+ mask: false,
9
+ rootClassName: props.drawerClassName,
8
10
  children: /*#__PURE__*/ jsx(DesignPanelLayout, {
9
11
  ...props
10
12
  })
@@ -9,13 +9,16 @@ import { Footer } from "./footer.js";
9
9
  import { Body } from "./body.js";
10
10
  const DesignPanelLayoutScope = (props)=>{
11
11
  const { context } = createDesignContext(props);
12
- return /*#__PURE__*/ jsxs(DesignPanelContext.Provider, {
12
+ return /*#__PURE__*/ jsx(DesignPanelContext.Provider, {
13
13
  value: context,
14
- children: [
15
- /*#__PURE__*/ jsx(Header, {}),
16
- /*#__PURE__*/ jsx(Body, {}),
17
- /*#__PURE__*/ jsx(Footer, {})
18
- ]
14
+ children: /*#__PURE__*/ jsxs("div", {
15
+ className: props.className,
16
+ children: [
17
+ /*#__PURE__*/ jsx(Header, {}),
18
+ /*#__PURE__*/ jsx(Body, {}),
19
+ /*#__PURE__*/ jsx(Footer, {})
20
+ ]
21
+ })
19
22
  });
20
23
  };
21
24
  const DesignPanelLayout = (props)=>/*#__PURE__*/ jsx(Fragment, {
@@ -5,6 +5,8 @@ export interface DesignPanelProps {
5
5
  id?: string;
6
6
  open: boolean;
7
7
  onClose?: () => void;
8
+ drawerClassName?: string;
9
+ className?: string;
8
10
  }
9
11
  export interface Workflow {
10
12
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coding-flow/flow-design",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "flow-engine design components ",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -54,16 +54,16 @@
54
54
  "nanoid": "^5.1.6",
55
55
  "react-redux": "^9.2.0",
56
56
  "styled-components": "^5.3.11",
57
- "@coding-flow/flow-core": "0.0.18",
58
- "@coding-flow/flow-icons": "0.0.18",
59
- "@coding-flow/flow-types": "0.0.18",
60
- "@coding-flow/flow-pc-ui": "0.0.18"
57
+ "@coding-flow/flow-core": "0.0.19",
58
+ "@coding-flow/flow-icons": "0.0.19",
59
+ "@coding-flow/flow-pc-ui": "0.0.19",
60
+ "@coding-flow/flow-types": "0.0.19"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/lodash-es": "^4.17.12",
64
64
  "@types/styled-components": "^5.1.36",
65
- "@coding-flow/flow-types": "0.0.18",
66
- "@coding-flow/flow-core": "0.0.18"
65
+ "@coding-flow/flow-core": "0.0.19",
66
+ "@coding-flow/flow-types": "0.0.19"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "rslib build",