@dckj-npm/dc-material 0.1.280 → 0.1.281

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.
@@ -127,7 +127,7 @@ const CustomDrawerMeta: IPublicTypeComponentMetadata = {
127
127
  isContainer: true,
128
128
  isModal: true,
129
129
  disableBehaviors: ['copy'],
130
- rootSelector: '.next-drawer',
130
+ rootSelector: '.drawer',
131
131
  nestingRule: {
132
132
  parentWhitelist: (testNode, currentNode) => {
133
133
  return testNode.componentName === 'Page'
@@ -294,7 +294,15 @@ const snippets: IPublicTypeSnippet[] = [
294
294
  screenshot: '',
295
295
  schema: {
296
296
  componentName: 'CustomDrawer',
297
- props: {},
297
+ props: {
298
+ title: '抽屉',
299
+ placement: 'left',
300
+ isAutoContainer: true,
301
+ actions: [
302
+ { text: '确定', action: 'submit', style: 'primary', type: 'submit' },
303
+ { text: '取消', action: 'submit', style: 'normal', type: 'cancel' },
304
+ ],
305
+ },
298
306
  },
299
307
  },
300
308
  ]
@@ -147,7 +147,7 @@ var CustomDrawerMeta = {
147
147
  isContainer: true,
148
148
  isModal: true,
149
149
  disableBehaviors: ['copy'],
150
- rootSelector: '.next-drawer',
150
+ rootSelector: '.drawer',
151
151
  nestingRule: {
152
152
  parentWhitelist: function parentWhitelist(testNode, currentNode) {
153
153
  return testNode.componentName === 'Page';
@@ -279,7 +279,22 @@ var snippets = [{
279
279
  screenshot: '',
280
280
  schema: {
281
281
  componentName: 'CustomDrawer',
282
- props: {}
282
+ props: {
283
+ title: '抽屉',
284
+ placement: 'left',
285
+ isAutoContainer: true,
286
+ actions: [{
287
+ text: '确定',
288
+ action: 'submit',
289
+ style: 'primary',
290
+ type: 'submit'
291
+ }, {
292
+ text: '取消',
293
+ action: 'submit',
294
+ style: 'normal',
295
+ type: 'cancel'
296
+ }]
297
+ }
283
298
  }
284
299
  }];
285
300
  export default _extends({}, CustomDrawerMeta, {
@@ -105,7 +105,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
105
105
  packageName = '@dckj-npm/dc-material';
106
106
  }
107
107
  if (version === void 0) {
108
- version = '0.1.280';
108
+ version = '0.1.281';
109
109
  }
110
110
  if (basicLibraryVersion === void 0) {
111
111
  basicLibraryVersion = {
@@ -152,7 +152,7 @@ var CustomDrawerMeta = {
152
152
  isContainer: true,
153
153
  isModal: true,
154
154
  disableBehaviors: ['copy'],
155
- rootSelector: '.next-drawer',
155
+ rootSelector: '.drawer',
156
156
  nestingRule: {
157
157
  parentWhitelist: function parentWhitelist(testNode, currentNode) {
158
158
  return testNode.componentName === 'Page';
@@ -284,7 +284,22 @@ var snippets = [{
284
284
  screenshot: '',
285
285
  schema: {
286
286
  componentName: 'CustomDrawer',
287
- props: {}
287
+ props: {
288
+ title: '抽屉',
289
+ placement: 'left',
290
+ isAutoContainer: true,
291
+ actions: [{
292
+ text: '确定',
293
+ action: 'submit',
294
+ style: 'primary',
295
+ type: 'submit'
296
+ }, {
297
+ text: '取消',
298
+ action: 'submit',
299
+ style: 'normal',
300
+ type: 'cancel'
301
+ }]
302
+ }
288
303
  }
289
304
  }];
290
305
  var _default = exports["default"] = (0, _extends2["default"])({}, CustomDrawerMeta, {
@@ -110,7 +110,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
110
110
  packageName = '@dckj-npm/dc-material';
111
111
  }
112
112
  if (version === void 0) {
113
- version = '0.1.280';
113
+ version = '0.1.281';
114
114
  }
115
115
  if (basicLibraryVersion === void 0) {
116
116
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.280",
3
+ "version": "0.1.281",
4
4
  "description": "dc低代码物料",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -106,7 +106,7 @@
106
106
  },
107
107
  "componentConfig": {
108
108
  "isComponentLibrary": true,
109
- "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.280/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.281/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"