@pisell/materials 1.0.95 → 1.0.96

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.
@@ -245,6 +245,16 @@ const DivMeta: ComponentMetadata = {
245
245
  propType: 'bool',
246
246
  setter: 'BoolSetter',
247
247
  },
248
+ {
249
+ name: 'loading',
250
+ title: {
251
+ label: '是否加载中',
252
+ tip: 'loading | 当卡片内容还在加载中时,可以用 loading 展示一个占位',
253
+ },
254
+ propType: 'bool',
255
+ defaultValue: false,
256
+ setter: ['BoolSetter', 'VariableSetter'],
257
+ },
248
258
  {
249
259
  title: "分页",
250
260
  display: "block",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.95",
3
+ "version": "1.0.96",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -55,9 +55,9 @@
55
55
  "@dnd-kit/utilities": "^3.2.1",
56
56
  "ahooks": "^3.7.6",
57
57
  "react-infinite-scroll-component": "^6.1.0",
58
+ "@pisell/icon": "0.0.8",
58
59
  "@pisell/date-picker": "1.0.33",
59
- "@pisell/utils": "1.0.6",
60
- "@pisell/icon": "0.0.8"
60
+ "@pisell/utils": "1.0.6"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "react": "^18.0.0",