@pega/custom-dx-components 0.242.14 → 0.242.15
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 +1 -1
- package/src/tasks/create/index.js +1 -1
- package/src/tasks/create-all/index.js +1 -1
- package/src/tasks/init/template/package.json.mustache +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/DetailsRender.tsx +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/DetailsRender.tsx +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/DetailsRender.tsx +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +2 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/DetailsRender.tsx +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +2 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +1 -1
package/package.json
CHANGED
|
@@ -132,7 +132,7 @@ const compileMustacheTemplates = async (
|
|
|
132
132
|
// delete file from main components
|
|
133
133
|
fs.rmSync(filePath);
|
|
134
134
|
}
|
|
135
|
-
else if (realFileName
|
|
135
|
+
else if (realFileName.includes(".tsx") || realFileName.includes(".ts") ) {
|
|
136
136
|
// going to search for shared file names an change the import path
|
|
137
137
|
let newOutput = output;
|
|
138
138
|
for (const index in SHARED_FILE_NAMES) {
|
|
@@ -140,7 +140,7 @@ export const compileMustacheTemplates = async (
|
|
|
140
140
|
// delete file from main components
|
|
141
141
|
fs.rmSync(filePath);
|
|
142
142
|
}
|
|
143
|
-
else if (realFileName
|
|
143
|
+
else if (realFileName.includes(".tsx") || realFileName.includes(".ts") ) {
|
|
144
144
|
// going to search for shared file names an change the import path
|
|
145
145
|
let newOutput = output;
|
|
146
146
|
for (const index in SHARED_FILE_NAMES) {
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@pega/configs": "^0.6.0",
|
|
83
|
-
"@pega/custom-dx-components": "0.242.
|
|
83
|
+
"@pega/custom-dx-components": "0.242.15",
|
|
84
84
|
"@pega/pcore-pconnect-typedefs": "~3.0.0",
|
|
85
85
|
"@storybook/addon-actions": "^7.6.7",
|
|
86
86
|
"@storybook/addon-essentials": "^7.6.19",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fragment, Children, ReactElement } from 'react';
|
|
2
|
-
import { Grid, Flex, FieldGroup, withConfiguration, GridContainerProps } from '@pega/cosmos-react-core';
|
|
1
|
+
import { Fragment, Children, type ReactElement } from 'react';
|
|
2
|
+
import { Grid, Flex, FieldGroup, withConfiguration, type GridContainerProps } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
4
|
import DetailsRender from './DetailsRender';
|
|
5
5
|
import HighlightRender from './HighlightRender';
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fragment, Children, ReactElement } from 'react';
|
|
2
|
-
import { Grid, Flex, FieldGroup, withConfiguration, GridContainerProps } from '@pega/cosmos-react-core';
|
|
1
|
+
import { Fragment, Children, type ReactElement } from 'react';
|
|
2
|
+
import { Grid, Flex, FieldGroup, withConfiguration, type GridContainerProps } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
4
|
import DetailsRender from './DetailsRender';
|
|
5
5
|
import HighlightRender from './HighlightRender';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fragment, Children, ReactElement } from 'react';
|
|
2
|
-
import { Grid, Flex, FieldGroup, withConfiguration, GridContainerProps } from '@pega/cosmos-react-core';
|
|
1
|
+
import { Fragment, Children, type ReactElement } from 'react';
|
|
2
|
+
import { Grid, Flex, FieldGroup, withConfiguration, type GridContainerProps } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
4
|
import DetailsRender from './DetailsRender';
|
|
5
5
|
import HighlightRender from './HighlightRender';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fragment, Children, ReactElement } from 'react';
|
|
2
|
-
import { Grid, Flex, FieldGroup, withConfiguration, GridContainerProps } from '@pega/cosmos-react-core';
|
|
1
|
+
import { Fragment, Children, type ReactElement } from 'react';
|
|
2
|
+
import { Grid, Flex, FieldGroup, withConfiguration, type GridContainerProps } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
4
|
import DetailsRender from './DetailsRender';
|
|
5
5
|
import HighlightRender from './HighlightRender';
|