@pega/custom-dx-components 24.2.17 → 24.2.18

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "24.2.17",
3
+ "version": "24.2.18",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -114,7 +114,7 @@ const compileMustacheTemplates = async (
114
114
  ALLOWEDAPPS: JSON.stringify(allowedApplications),
115
115
  TYPE: type,
116
116
  SUB_TYPE: JSON.stringify(mustacheSubType),
117
- DESCRIPTION: description,
117
+ DESCRIPTION: description || componentLabel,
118
118
  IS_TEMPLATE: isTemplate,
119
119
  IS_PICKLIST: isPicklist,
120
120
  IS_BOOLEAN: isBool,
@@ -431,11 +431,6 @@ addDebugLog("create", "", "+");
431
431
  allowedApplications
432
432
  } = answers;
433
433
 
434
- // if description is blank, change to label
435
- let goodDescription = description;
436
- if (goodDescription === "") {
437
- goodDescription = componentLabel;
438
- }
439
434
 
440
435
  await validateCompile(
441
436
  {
@@ -446,7 +441,7 @@ addDebugLog("create", "", "+");
446
441
  framework,
447
442
  type,
448
443
  subtype,
449
- description: goodDescription,
444
+ description,
450
445
  allowedApplications
451
446
  },
452
447
  options
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "devDependencies": {
103
103
  "@pega/configs": "^0.15.1",
104
- "@pega/custom-dx-components": "~24.2.17",
104
+ "@pega/custom-dx-components": "~24.2.18",
105
105
  "@pega/pcore-pconnect-typedefs": "3.2.1",
106
106
  "@storybook/addon-actions": "^7.6.19",
107
107
  "@storybook/addon-essentials": "^7.6.19",