@pega/custom-dx-components 0.23.7 → 0.23.8

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.
Files changed (75) hide show
  1. package/package.json +1 -1
  2. package/src/tasks/create/templates/Constellation/Field/Boolean/styles.js.mustache +12 -11
  3. package/src/tasks/create/templates/Constellation/Field/Date/styles.js.mustache +12 -11
  4. package/src/tasks/create/templates/Constellation/Field/DateTime/styles.js.mustache +12 -11
  5. package/src/tasks/create/templates/Constellation/Field/Decimal/styles.js.mustache +12 -11
  6. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/styles.js.mustache +12 -11
  7. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/styles.js.mustache +12 -11
  8. package/src/tasks/create/templates/Constellation/Field/Integer/styles.js.mustache +12 -11
  9. package/src/tasks/create/templates/Constellation/Field/Picklist/styles.js.mustache +12 -11
  10. package/src/tasks/create/templates/Constellation/Field/Text/styles.js.mustache +12 -11
  11. package/src/tasks/create/templates/Constellation/Field/Text-Email/styles.js.mustache +12 -11
  12. package/src/tasks/create/templates/Constellation/Field/Text-Input/styles.js.mustache +12 -11
  13. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/styles.js.mustache +12 -11
  14. package/src/tasks/create/templates/Constellation/Field/Text-Phone/styles.js.mustache +12 -11
  15. package/src/tasks/create/templates/Constellation/Field/Text-URL/styles.js.mustache +12 -11
  16. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/styles.js.mustache +12 -11
  17. package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.js.mustache +12 -11
  18. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/styles.js.mustache +12 -11
  19. package/src/tasks/create/templates/Constellation/Template/FORM/styles.js.mustache +12 -11
  20. package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.js.mustache +12 -11
  21. package/src/tasks/create/templates/Constellation/Template/PAGE/styles.js.mustache +12 -11
  22. package/src/tasks/create/templates/Constellation/Widget/CASE/styles.js.mustache +12 -11
  23. package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.js.mustache +12 -11
  24. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.js.mustache +12 -11
  25. package/src/tasks/create-all/index.js +1 -1
  26. package/src/tasks/init/index.js +4 -0
  27. package/src/tasks/init/template/package.json.mustache +2 -2
  28. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/config.json +2 -2
  29. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/styles.js +13 -6
  30. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/config.json +2 -2
  31. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/styles.js +13 -6
  32. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/config.json +2 -2
  33. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/styles.js +13 -6
  34. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/config.json +2 -2
  35. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/styles.js +13 -6
  36. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/config.json +2 -2
  37. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/styles.js +13 -6
  38. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/config.json +2 -2
  39. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/styles.js +13 -6
  40. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/config.json +2 -2
  41. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/styles.js +13 -6
  42. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/config.json +2 -2
  43. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/styles.js +13 -6
  44. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/config.json +2 -2
  45. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/styles.js +13 -6
  46. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/config.json +2 -2
  47. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/styles.js +13 -6
  48. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/config.json +2 -2
  49. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/styles.js +13 -6
  50. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/config.json +2 -2
  51. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/styles.js +13 -6
  52. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/config.json +2 -2
  53. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/styles.js +13 -6
  54. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/config.json +2 -2
  55. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/styles.js +13 -6
  56. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/config.json +2 -2
  57. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/styles.js +13 -6
  58. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/config.json +2 -2
  59. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/styles.js +13 -6
  60. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/config.json +2 -2
  61. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/styles.js +13 -6
  62. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/config.json +2 -2
  63. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/styles.js +13 -6
  64. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/config.json +2 -2
  65. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/styles.js +13 -6
  66. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/config.json +2 -2
  67. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/styles.js +13 -6
  68. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/config.json +2 -2
  69. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/styles.js +13 -6
  70. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/config.json +2 -2
  71. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/styles.js +13 -6
  72. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/config.json +2 -2
  73. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/styles.js +13 -6
  74. package/src/tasks/init/template/test/functionTest/localCreateAllListDeleteAll.test.js +1 -1
  75. package/src/tasks/list/helper.js +2 -2
@@ -1,7 +1,14 @@
1
- import styled, { css } from 'styled-components';
1
+ // utilizing theming, comment out, if want individual style
2
+ import styled from 'styled-components';
3
+ import { Configuration } from '@pega/cosmos-react-core';
2
4
 
3
- export default styled.div(() => {
4
- return css`
5
- margin: 0px 0px;
6
- `;
7
- });
5
+ export default styled(Configuration)``;
6
+
7
+ // individual style, comment out above, and uncomment here and add styles
8
+ // import styled, { css } from 'styled-components';
9
+ //
10
+ // export default styled.div(() => {
11
+ // return css`
12
+ // margin: 0px 0;
13
+ // `;
14
+ // });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Pega_DXIL_MyText",
3
- "label": "My Text",
4
- "description": "My Text",
3
+ "label": "My Text",
4
+ "description": "My Text",
5
5
  "organization": "Pega",
6
6
  "version": "0.0.1",
7
7
  "library": "DXIL",
@@ -1,7 +1,14 @@
1
- import styled, { css } from 'styled-components';
1
+ // utilizing theming, comment out, if want individual style
2
+ import styled from 'styled-components';
3
+ import { Configuration } from '@pega/cosmos-react-core';
2
4
 
3
- export default styled.div(() => {
4
- return css`
5
- margin: 0px 0px;
6
- `;
7
- });
5
+ export default styled(Configuration)``;
6
+
7
+ // individual style, comment out above, and uncomment here and add styles
8
+ // import styled, { css } from 'styled-components';
9
+ //
10
+ // export default styled.div(() => {
11
+ // return css`
12
+ // margin: 0px 0;
13
+ // `;
14
+ // });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Pega_DXIL_MyTextInput",
3
- "label": "My Text Input",
4
- "description": "My Text Input",
3
+ "label": "My Text Input",
4
+ "description": "My Text Input",
5
5
  "organization": "Pega",
6
6
  "version": "0.0.1",
7
7
  "library": "DXIL",
@@ -1,7 +1,14 @@
1
- import styled, { css } from 'styled-components';
1
+ // utilizing theming, comment out, if want individual style
2
+ import styled from 'styled-components';
3
+ import { Configuration } from '@pega/cosmos-react-core';
2
4
 
3
- export default styled.div(() => {
4
- return css`
5
- margin: 0px 0px;
6
- `;
7
- });
5
+ export default styled(Configuration)``;
6
+
7
+ // individual style, comment out above, and uncomment here and add styles
8
+ // import styled, { css } from 'styled-components';
9
+ //
10
+ // export default styled.div(() => {
11
+ // return css`
12
+ // margin: 0px 0;
13
+ // `;
14
+ // });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Pega_DXIL_MyTimeOfDay",
3
- "label": "My TimeOfDay",
4
- "description": "My TimeOfDay",
3
+ "label": "My TimeOfDay",
4
+ "description": "My TimeOfDay",
5
5
  "organization": "Pega",
6
6
  "version": "0.0.1",
7
7
  "library": "DXIL",
@@ -1,7 +1,14 @@
1
- import styled, { css } from 'styled-components';
1
+ // utilizing theming, comment out, if want individual style
2
+ import styled from 'styled-components';
3
+ import { Configuration } from '@pega/cosmos-react-core';
2
4
 
3
- export default styled.div(() => {
4
- return css`
5
- margin: 0px 0px;
6
- `;
7
- });
5
+ export default styled(Configuration)``;
6
+
7
+ // individual style, comment out above, and uncomment here and add styles
8
+ // import styled, { css } from 'styled-components';
9
+ //
10
+ // export default styled.div(() => {
11
+ // return css`
12
+ // margin: 0px 0;
13
+ // `;
14
+ // });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Pega_DXIL_MyTwoColumnDetails",
3
- "label": "My Two Column Details",
4
- "description": "My Two Column Details",
3
+ "label": "My Two Column Details",
4
+ "description": "My Two Column Details",
5
5
  "organization": "Pega",
6
6
  "version": "0.0.1",
7
7
  "library": "DXIL",
@@ -1,7 +1,14 @@
1
- import styled, { css } from 'styled-components';
1
+ // utilizing theming, comment out, if want individual style
2
+ import styled from 'styled-components';
3
+ import { Configuration } from '@pega/cosmos-react-core';
2
4
 
3
- export default styled.div(() => {
4
- return css`
5
- margin: 0px 0px;
6
- `;
7
- });
5
+ export default styled(Configuration)``;
6
+
7
+ // individual style, comment out above, and uncomment here and add styles
8
+ // import styled, { css } from 'styled-components';
9
+ //
10
+ // export default styled.div(() => {
11
+ // return css`
12
+ // margin: 0px 0;
13
+ // `;
14
+ // });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Pega_DXIL_MyTwoColumnForm",
3
- "label": "My Two Column Form",
4
- "description": "My Two Column Form",
3
+ "label": "My Two Column Form",
4
+ "description": "My Two Column Form",
5
5
  "organization": "Pega",
6
6
  "version": "0.0.1",
7
7
  "library": "DXIL",
@@ -1,7 +1,14 @@
1
- import styled, { css } from 'styled-components';
1
+ // utilizing theming, comment out, if want individual style
2
+ import styled from 'styled-components';
3
+ import { Configuration } from '@pega/cosmos-react-core';
2
4
 
3
- export default styled.div(() => {
4
- return css`
5
- margin: 0px 0px;
6
- `;
7
- });
5
+ export default styled(Configuration)``;
6
+
7
+ // individual style, comment out above, and uncomment here and add styles
8
+ // import styled, { css } from 'styled-components';
9
+ //
10
+ // export default styled.div(() => {
11
+ // return css`
12
+ // margin: 0px 0;
13
+ // `;
14
+ // });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Pega_DXIL_MyURL",
3
- "label": "My URL",
4
- "description": "My URL",
3
+ "label": "My URL",
4
+ "description": "My URL",
5
5
  "organization": "Pega",
6
6
  "version": "0.0.1",
7
7
  "library": "DXIL",
@@ -1,7 +1,14 @@
1
- import styled, { css } from 'styled-components';
1
+ // utilizing theming, comment out, if want individual style
2
+ import styled from 'styled-components';
3
+ import { Configuration } from '@pega/cosmos-react-core';
2
4
 
3
- export default styled.div(() => {
4
- return css`
5
- margin: 0px 0px;
6
- `;
7
- });
5
+ export default styled(Configuration)``;
6
+
7
+ // individual style, comment out above, and uncomment here and add styles
8
+ // import styled, { css } from 'styled-components';
9
+ //
10
+ // export default styled.div(() => {
11
+ // return css`
12
+ // margin: 0px 0;
13
+ // `;
14
+ // });
@@ -15,7 +15,7 @@ describe('createAll list and deleteAll local', () => {
15
15
  });
16
16
 
17
17
  it('npm run createAll Local', async () => {
18
- const script = `npm run createAll "My " 0.0.1 DXIL "" Pega`;
18
+ const script = `npm run createAll "My" 0.0.1 DXIL "" Pega`;
19
19
 
20
20
  const { stdout, stderr } = await exec(script);
21
21
  // console.log(stdout);
@@ -4,7 +4,7 @@ import https from 'https';
4
4
  import chalk from 'chalk';
5
5
  import fetch from 'node-fetch';
6
6
 
7
- import { LIST_COMPONENT_SERVICE_REST_ENDPOINT, LP_LIST_COMPONENT_SERVICE_REST_ENDPOINT, TOKEN_PATH } from '../../constants.js';
7
+ import { LIST_COMPONENT_SERVICE_REST_ENDPOINT, LP_LIST_COMPONENT_SERVICE_REST_ENDPOINT, TOKEN_PATH, COMPONENT_SCHEMA } from '../../constants.js';
8
8
  import { constructCompleteUrl, getComponents, getPegaServerConfig, getHttpsAgent } from '../../util.js';
9
9
 
10
10
  export const SOURCE_OF_COMPONENT_TYPES = {
@@ -72,7 +72,7 @@ async function fetchComponentsFromInfinity(apiUrl, headers) {
72
72
 
73
73
  async function fetchComponentsFromLaunchpad(apiUrl, headers) {
74
74
  const serverConfig = await getPegaServerConfig();
75
- // constucting urls for all type of components
75
+ // constructing urls for all type of components
76
76
  const urls = COMPONENT_SCHEMA.type.map((type) => apiUrl.replace('{type}', type.value));
77
77
  const statuses = [];
78
78