@pega/dx-component-builder-sdk 0.242.3 → 0.242.5

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/dx-component-builder-sdk",
3
- "version": "0.242.3",
3
+ "version": "0.242.5",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
- import MuiPhoneNumber from 'material-ui-phone-number';
2
1
  import { useEffect, useState } from 'react';
2
+ import { MuiTelInput } from 'mui-tel-input';
3
3
 
4
4
  import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
5
5
  import { PConnFieldProps } from '@pega/react-sdk-components/lib/types/PConnProps';
@@ -63,12 +63,12 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
63
63
  return (
64
64
  <div>
65
65
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
66
- <MuiPhoneNumber
66
+ <MuiTelInput
67
67
  fullWidth
68
68
  helperText={helperTextToDisplay}
69
69
  placeholder={placeholder ?? ''}
70
70
  size='small'
71
- defaultCountry='us'
71
+ defaultCountry='US'
72
72
  required={required}
73
73
  disabled={disabled}
74
74
  onChange={onChange}
@@ -102,13 +102,13 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
102
102
 
103
103
  return (
104
104
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
105
- <MuiPhoneNumber
105
+ <MuiTelInput
106
106
  fullWidth
107
107
  variant='outlined'
108
108
  helperText={helperTextToDisplay}
109
109
  placeholder={placeholder ?? ''}
110
110
  size='small'
111
- defaultCountry='us'
111
+ defaultCountry='US'
112
112
  required={required}
113
113
  disabled={disabled}
114
114
  onChange={handleChange}
@@ -1,5 +1,5 @@
1
- import MuiPhoneNumber from 'material-ui-phone-number';
2
1
  import { useEffect, useState } from 'react';
2
+ import { MuiTelInput } from 'mui-tel-input';
3
3
 
4
4
  import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
5
5
  import { PConnFieldProps } from '@pega/react-sdk-components/lib/types/PConnProps';
@@ -63,12 +63,12 @@ export default function PegaDxilMyPhone(props: PegaDxilMyPhoneProps) {
63
63
  return (
64
64
  <div>
65
65
  <StyledPegaDxilMyPhoneWrapper>
66
- <MuiPhoneNumber
66
+ <MuiTelInput
67
67
  fullWidth
68
68
  helperText={helperTextToDisplay}
69
69
  placeholder={placeholder ?? ''}
70
70
  size='small'
71
- defaultCountry='us'
71
+ defaultCountry='US'
72
72
  required={required}
73
73
  disabled={disabled}
74
74
  onChange={onChange}
@@ -99,13 +99,13 @@ export default function PegaDxilMyPhone(props: PegaDxilMyPhoneProps) {
99
99
 
100
100
  return (
101
101
  <StyledPegaDxilMyPhoneWrapper>
102
- <MuiPhoneNumber
102
+ <MuiTelInput
103
103
  fullWidth
104
104
  variant='outlined'
105
105
  helperText={helperTextToDisplay}
106
106
  placeholder={placeholder ?? ''}
107
107
  size='small'
108
- defaultCountry='us'
108
+ defaultCountry='US'
109
109
  required={required}
110
110
  disabled={disabled}
111
111
  onChange={handleChange}
@@ -12,7 +12,7 @@ describe('createAll list and deleteAll local custom', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run createAll Local custom', async () => {
18
18
  const script = `npm run createAll "My" 0.0.1 DXIL "" Pega --prefix ../../..`;
@@ -12,7 +12,7 @@ describe('overrideAll list and deleteAll local override', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run overrideAll Local', async () => {
18
18
  const script = `npm run overrideAll --prefix ../../..`;
@@ -12,7 +12,7 @@ describe('create buildAll and deleteAll local custom', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local text custom', async () => {
18
18
  const fileName = 'MyTestText';
@@ -133,7 +133,7 @@ describe('create buildAll and deleteAll local custom', () => {
133
133
  expect(stdout).toContain('Pega_DXIL_MyTestPage');
134
134
  expect(stdout).toContain('Pega_DXIL_MyTestDetails');
135
135
  // done();
136
- }, 100000);
136
+ }, 200000);
137
137
 
138
138
  it('npm run deleteAll Local custom', async () => {
139
139
  const script = `npm run deleteAll Local custom Y --prefix ../../..`;
@@ -12,7 +12,7 @@ describe('create build and delete local custom', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local custom', async () => {
18
18
  const fileName = 'MyTestText';
@@ -12,7 +12,7 @@ describe('create build and delete local override', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local override', async () => {
18
18
  const fileName = 'AutoComplete';
@@ -12,7 +12,7 @@ describe('create list and delete local custom', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local custom', async () => {
18
18
  const fileName = 'MyTestText';
@@ -12,7 +12,7 @@ describe('create list and delete local override', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local override', async () => {
18
18
  const fileName = 'AutoComplete';
@@ -12,7 +12,7 @@ describe('create mapAll clearMap custom local', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local text custom', async () => {
18
18
  const fileName = 'MyTestText';
@@ -12,7 +12,7 @@ describe('create publish and deleteAll local', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local text custom', async () => {
18
18
  const fileName = 'MyTestText';
@@ -12,7 +12,7 @@ describe('create publish and delete local custom', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local custom', async () => {
18
18
  const fileName = 'MyTestText';
@@ -12,7 +12,7 @@ describe('create publish and delete local override', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local override', async () => {
18
18
  const fileName = 'AutoComplete';
@@ -12,7 +12,7 @@ describe('create rename and delete local', () => {
12
12
  // console.log(stdout);
13
13
  expect(stdout).not.toBeNull();
14
14
  expect(stderr).not.toBeNull();
15
- });
15
+ }, 10000);
16
16
 
17
17
  it('npm run create Local custom', async () => {
18
18
  const fileName = 'MyTestText';