@pega/custom-dx-components 25.1.10-alpha-0.2 → 25.1.10-alpha-0.3

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": "25.1.10-alpha-0.2",
3
+ "version": "25.1.10-alpha-0.3",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -58,7 +58,7 @@ addDebugLog("getFilePathQuestions", "", "");
58
58
  rootPath: startDirectory,
59
59
  // rootPath :: String
60
60
  // Root search directory
61
- suggestOnly: false,
61
+ suggestOnly: true,
62
62
  // suggestOnly :: Bool
63
63
  // Restrict prompt answer to available choices or use them as suggestions
64
64
  depthLimit: 2,
@@ -107,7 +107,7 @@
107
107
  "@babel/preset-react": "^7.27.1",
108
108
  "@babel/preset-typescript": "^7.27.1",
109
109
  "@pega/configs": "^0.16.3",
110
- "@pega/custom-dx-components": "~25.1.10-alpha-0.2",
110
+ "@pega/custom-dx-components": "~25.1.10-alpha-0.3",
111
111
  "@pega/pcore-pconnect-typedefs": "^4.1.0-alpha.1",
112
112
  "@storybook/addon-actions": "^8.6.12",
113
113
  "@storybook/addon-essentials": "^8.6.12",
package/src/util.js CHANGED
@@ -2734,7 +2734,7 @@ export const getMaxPrefixCount = () => {
2734
2734
  export const isComponentValidLength = (componentKey) => {
2735
2735
  const configDef = getConfigDefaults();
2736
2736
  const componentName = componentKey.replace(configDef.currentOrgLib + "_", "");
2737
- if (componentName.length < getMaxComponentNameCount()) {
2737
+ if (componentName.length <= getMaxComponentNameCount()) {
2738
2738
  return true;
2739
2739
  }
2740
2740