@pega/custom-dx-components 2.0.6 → 2.0.8
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/package.json
CHANGED
package/src/constants.js
CHANGED
|
@@ -269,23 +269,6 @@ export default async options => {
|
|
|
269
269
|
return 'Please select subtype';
|
|
270
270
|
}
|
|
271
271
|
},
|
|
272
|
-
{
|
|
273
|
-
name: 'subtype',
|
|
274
|
-
type: 'rawlist',
|
|
275
|
-
message: 'Enter subtype of component',
|
|
276
|
-
default: [componentDefaults.subtype || COMPONENT_SCHEMA.subtype.table[0]],
|
|
277
|
-
choices: COMPONENT_SCHEMA.subtype.table,
|
|
278
|
-
when(answers) {
|
|
279
|
-
return answers.type === 'Table';
|
|
280
|
-
},
|
|
281
|
-
validate: value => {
|
|
282
|
-
/* value should not be empty */
|
|
283
|
-
if (Array.isArray(value) && value.length) {
|
|
284
|
-
return true;
|
|
285
|
-
}
|
|
286
|
-
return 'Please select subtype';
|
|
287
|
-
}
|
|
288
|
-
},
|
|
289
272
|
{
|
|
290
273
|
name: 'description',
|
|
291
274
|
message: 'Enter description for the component',
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"styled-components": "^5.3.5"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@pega/configs": "^0.3.
|
|
50
|
-
"@pega/custom-dx-components": "^2.0.
|
|
49
|
+
"@pega/configs": "^0.3.4",
|
|
50
|
+
"@pega/custom-dx-components": "^2.0.8",
|
|
51
51
|
"@storybook/addon-actions": "^6.5.12",
|
|
52
52
|
"@storybook/addon-essentials": "^6.5.12",
|
|
53
53
|
"@storybook/addon-links": "^6.5.12",
|