@pisell/materials 2.2.8 → 2.2.10
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +19 -19
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +19 -19
- package/es/components/Pagination/index.d.ts +1 -1
- package/es/components/drag-sort-tree/TreeItem/index.less +4 -3
- package/es/components/drawer/index.js +1 -0
- package/es/components/drawer/index.less +8 -1
- package/lib/components/Pagination/index.d.ts +1 -1
- package/lib/components/drag-sort-tree/TreeItem/index.less +4 -3
- package/lib/components/drawer/index.js +1 -0
- package/lib/components/drawer/index.less +8 -1
- package/lowcode/date-picker.range-picker/meta.ts +20 -0
- package/package.json +3 -3
|
@@ -5,7 +5,7 @@ export declare const paginationConfig: {
|
|
|
5
5
|
className: string;
|
|
6
6
|
defaultCurrent: number;
|
|
7
7
|
showTotal: (total: number, range: [number, number]) => string;
|
|
8
|
-
itemRender: (page: number, type: "
|
|
8
|
+
itemRender: (page: number, type: "page" | "next" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
|
|
9
9
|
responsive: boolean;
|
|
10
10
|
size: string;
|
|
11
11
|
};
|
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
touch-action: none !important;
|
|
11
11
|
width: 100%;
|
|
12
12
|
color: #101828;
|
|
13
|
-
height:
|
|
14
|
-
line-height:
|
|
13
|
+
height: 38px;
|
|
14
|
+
line-height: 38px;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&-drag-sort-tree:hover {
|
|
18
|
-
background:
|
|
18
|
+
background: #F9FAFB;
|
|
19
|
+
border-radius: 6px;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
&-drag-sort-tree-item {
|
|
@@ -104,6 +104,7 @@ var Drawer = function Drawer(props) {
|
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
return _objectSpread({
|
|
107
|
+
rootClassName: "".concat(prefix, "basic-drawer-root"),
|
|
107
108
|
closeIcon: /*#__PURE__*/React.createElement(XClose, {
|
|
108
109
|
className: "".concat(prefix, "drawer-header-close-icon")
|
|
109
110
|
})
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
.@{pisell-prefix} {
|
|
4
4
|
&-drawer-header {
|
|
5
|
-
position:
|
|
5
|
+
position: unset !important;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&-drawer-header-close-icon {
|
|
@@ -61,4 +61,11 @@
|
|
|
61
61
|
&-drawer-outside-action-active {
|
|
62
62
|
background: var(--Primary-200, #E9D7FE) !important;
|
|
63
63
|
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
.@{pisell-prefix}-basic-drawer-root {
|
|
68
|
+
.@{pisell-prefix}-drawer-header {
|
|
69
|
+
position: relative !important;
|
|
70
|
+
}
|
|
64
71
|
}
|
|
@@ -5,7 +5,7 @@ export declare const paginationConfig: {
|
|
|
5
5
|
className: string;
|
|
6
6
|
defaultCurrent: number;
|
|
7
7
|
showTotal: (total: number, range: [number, number]) => string;
|
|
8
|
-
itemRender: (page: number, type: "
|
|
8
|
+
itemRender: (page: number, type: "page" | "next" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
|
|
9
9
|
responsive: boolean;
|
|
10
10
|
size: string;
|
|
11
11
|
};
|
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
touch-action: none !important;
|
|
11
11
|
width: 100%;
|
|
12
12
|
color: #101828;
|
|
13
|
-
height:
|
|
14
|
-
line-height:
|
|
13
|
+
height: 38px;
|
|
14
|
+
line-height: 38px;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&-drag-sort-tree:hover {
|
|
18
|
-
background:
|
|
18
|
+
background: #F9FAFB;
|
|
19
|
+
border-radius: 6px;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
&-drag-sort-tree-item {
|
|
@@ -127,6 +127,7 @@ var Drawer = (props) => {
|
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
return {
|
|
130
|
+
rootClassName: `${prefix}basic-drawer-root`,
|
|
130
131
|
closeIcon: /* @__PURE__ */ import_react.default.createElement(import_XClose.default, { className: `${prefix}drawer-header-close-icon` }),
|
|
131
132
|
...headerStyle
|
|
132
133
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
.@{pisell-prefix} {
|
|
4
4
|
&-drawer-header {
|
|
5
|
-
position:
|
|
5
|
+
position: unset !important;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&-drawer-header-close-icon {
|
|
@@ -61,4 +61,11 @@
|
|
|
61
61
|
&-drawer-outside-action-active {
|
|
62
62
|
background: var(--Primary-200, #E9D7FE) !important;
|
|
63
63
|
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
.@{pisell-prefix}-basic-drawer-root {
|
|
68
|
+
.@{pisell-prefix}-drawer-header {
|
|
69
|
+
position: relative !important;
|
|
70
|
+
}
|
|
64
71
|
}
|
|
@@ -205,6 +205,26 @@ export default {
|
|
|
205
205
|
"VariableSetter",
|
|
206
206
|
],
|
|
207
207
|
},
|
|
208
|
+
{
|
|
209
|
+
name: "disablePortal",
|
|
210
|
+
title: {
|
|
211
|
+
label: "渲染位置",
|
|
212
|
+
tip: "disablePortal | true dom结构在当前结构下 false 追加到body",
|
|
213
|
+
},
|
|
214
|
+
propType: "bool",
|
|
215
|
+
defaultValue: false,
|
|
216
|
+
setter: "BoolSetter",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: "returnShortcutString",
|
|
220
|
+
title: {
|
|
221
|
+
label: "使用快捷筛选时value返回快捷字符串",
|
|
222
|
+
tip: "returnShortcutString | 使用快捷筛选时返回快捷字符串",
|
|
223
|
+
},
|
|
224
|
+
propType: "bool",
|
|
225
|
+
defaultValue: false,
|
|
226
|
+
setter: "BoolSetter",
|
|
227
|
+
},
|
|
208
228
|
],
|
|
209
229
|
},
|
|
210
230
|
// {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.10",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"react-window": "^1.8.10",
|
|
62
62
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
63
63
|
"crypto-js": "^4.2.0",
|
|
64
|
+
"@pisell/date-picker": "1.0.75",
|
|
64
65
|
"@pisell/utils": "1.0.25",
|
|
65
|
-
"@pisell/icon": "0.0.11"
|
|
66
|
-
"@pisell/date-picker": "1.0.74"
|
|
66
|
+
"@pisell/icon": "0.0.11"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"react": "^18.0.0",
|