@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "0.242.14",
3
+ "version": "0.242.15",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -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 === "index.tsx" || realFileName === "index.ts" ) {
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 === "index.tsx" || realFileName === "index.ts" ) {
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.14",
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,4 +1,4 @@
1
- import { Fragment, ReactElement } from 'react';
1
+ import { Fragment, type ReactElement } from 'react';
2
2
  import { FieldValueList } from '@pega/cosmos-react-core';
3
3
 
4
4
  interface DetailsRenderProps {
@@ -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,4 +1,4 @@
1
- import { Fragment, ReactElement } from 'react';
1
+ import { Fragment, type ReactElement } from 'react';
2
2
  import { FieldValueList } from '@pega/cosmos-react-core';
3
3
 
4
4
  interface DetailsRenderProps {
@@ -1,4 +1,4 @@
1
- import { Fragment, ReactElement } from 'react';
1
+ import { Fragment, type ReactElement } from 'react';
2
2
  import { FieldValueList } from '@pega/cosmos-react-core';
3
3
 
4
4
  interface DetailsRenderProps {
@@ -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,4 +1,4 @@
1
- import { Fragment, ReactElement } from 'react';
1
+ import { Fragment, type ReactElement } from 'react';
2
2
  import { FieldValueList } from '@pega/cosmos-react-core';
3
3
 
4
4
  interface DetailsRenderProps {
@@ -1,4 +1,4 @@
1
- import { Fragment, ReactElement } from 'react';
1
+ import { Fragment, type ReactElement } from 'react';
2
2
  import { FieldValueList } from '@pega/cosmos-react-core';
3
3
 
4
4
  interface DetailsRenderProps {
@@ -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,4 +1,4 @@
1
- import { Fragment, ReactElement } from 'react';
1
+ import { Fragment, type ReactElement } from 'react';
2
2
  import { FieldValueList } from '@pega/cosmos-react-core';
3
3
 
4
4
  interface DetailsRenderProps {
@@ -1,4 +1,4 @@
1
- import { Fragment, ReactElement } from 'react';
1
+ import { Fragment, type ReactElement } from 'react';
2
2
  import { FieldValueList } from '@pega/cosmos-react-core';
3
3
 
4
4
  interface DetailsRenderProps {
@@ -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,4 +1,4 @@
1
- import { Fragment, ReactElement } from 'react';
1
+ import { Fragment, type ReactElement } from 'react';
2
2
  import { FieldValueList } from '@pega/cosmos-react-core';
3
3
 
4
4
  interface DetailsRenderProps {