@nocobase/plugin-kanban 1.2.3-alpha → 1.2.4-alpha

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.
@@ -149,8 +149,8 @@ Error generating stack: `+i.message+`
149
149
 
150
150
  .react-kanban-column {
151
151
  background-color: ${r.colorFillQuaternary};
152
- margin-right: 15px;
153
- padding-bottom: 15px;
152
+ margin-right: ${r.margin}
153
+ padding-bottom: ${r.margin}
154
154
  width: 300px;
155
155
  }
156
156
 
@@ -251,7 +251,7 @@ Error generating stack: `+i.message+`
251
251
  }
252
252
  `,kanbanBoard:e`
253
253
  height: 100%;
254
- `})),ZE=()=>{var c;const{heightProps:e}=I.useBlockHeightProps(),{title:r}=e,n=I.useDataBlockHeight(),{token:t}=Re.theme.useToken(),{designable:o}=I.useDesignable(),i=J.useFieldSchema();if(!n)return;const l=Object.keys(((c=i.parent.properties.actions)==null?void 0:c.properties)||{}).length>0||o?t.controlHeight+2*t.marginLG:1*t.marginLG,u=2*t.padding+t.lineHeightSM*t.fontSizeSM+3,s=r?t.fontSizeLG*t.lineHeightLG+t.padding*2-1:0,f=t.padding+2*t.marginSM+t.paddingLG+(o?0:10);return n-l-u-f-s},qg=D.forwardRef((e,r)=>b.jsx("div",F({ref:r,style:{whiteSpace:"nowrap",overflowY:"clip"}},e)));qg.displayName="Columns";const eI=Bg(qg),Aa=e=>{const r=ZE(),{styles:n}=JE();return b.jsx("div",{className:n.nbBord,children:b.jsx("div",{className:No.css`
254
+ `})),ZE=()=>{var c;const{heightProps:e}=I.useBlockHeightProps(),{title:r}=e,n=I.useDataBlockHeight(),{token:t}=Re.theme.useToken(),{designable:o}=I.useDesignable(),i=J.useFieldSchema();if(!n)return;const l=Object.keys(((c=i.parent.properties.actions)==null?void 0:c.properties)||{}).length>0||o?t.controlHeight+2*t.marginLG:1*t.marginLG,u=2*t.padding+t.lineHeightSM*t.fontSizeSM+3,s=r?t.fontSizeLG*t.lineHeightLG+t.padding*2-1:0,f=t.controlPaddingHorizontal+t.margin+t.paddingLG-t.marginXS;return n-l-u-f-s},qg=D.forwardRef((e,r)=>b.jsx("div",F({ref:r,style:{whiteSpace:"nowrap",overflowY:"clip"}},e)));qg.displayName="Columns";const eI=Bg(qg),Aa=e=>{const r=ZE(),{styles:n}=JE();return b.jsx("div",{className:n.nbBord,children:b.jsx("div",{className:No.css`
255
255
  .react-kanban-card-skeleton {
256
256
  height: ${r?r+"px":"70vh"};
257
257
  }
@@ -11,7 +11,7 @@ module.exports = {
11
11
  "@ant-design/icons": "5.2.6",
12
12
  "@formily/react": "2.3.0",
13
13
  "@formily/shared": "2.3.0",
14
- "@nocobase/client": "1.2.3-alpha",
14
+ "@nocobase/client": "1.2.4-alpha",
15
15
  "antd": "5.12.8",
16
16
  "react": "18.2.0",
17
17
  "react-i18next": "11.18.6",
@@ -19,7 +19,7 @@ module.exports = {
19
19
  "@formily/antd-v5": "1.1.9",
20
20
  "@formily/core": "2.3.0",
21
21
  "lodash": "4.17.21",
22
- "@nocobase/server": "1.2.3-alpha",
23
- "@nocobase/test": "1.2.3-alpha",
22
+ "@nocobase/server": "1.2.4-alpha",
23
+ "@nocobase/test": "1.2.4-alpha",
24
24
  "antd-style": "3.4.5"
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-kanban",
3
- "version": "1.2.3-alpha",
3
+ "version": "1.2.4-alpha",
4
4
  "main": "dist/server/index.js",
5
5
  "homepage": "https://docs.nocobase.com/handbook/block-kanban",
6
6
  "homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/block-kanban",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "react-intersection-observer": "^9.8.1"
19
19
  },
20
- "gitHead": "a9167db4051c276bdad81f1a98c3d77987af983d",
20
+ "gitHead": "bacfa9133d38339862eee143c516432c2327099e",
21
21
  "keywords": [
22
22
  "Blocks"
23
23
  ]