@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,13 +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
- // to utilize theming, uncomment below
4
- // import { Configuration } from '@pega/cosmos-react-core';
5
- // export default styled(Configuration)``;
5
+ export default styled(Configuration)``;
6
6
 
7
-
8
- // comment out this code if using theming
9
- export default styled.div(() => {
10
- return css`
11
- margin: 0px 0;
12
- `;
13
- });
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
+ // });
@@ -341,7 +341,7 @@ export default async (options) => {
341
341
  await inquirer.prompt(questions).then(async (answers) => {
342
342
  const { library, version, allowedApplications } = answers;
343
343
  let { prefix } = answers;
344
- prefix = prefix.replace(/\W+/g, '');
344
+ prefix = prefix.replace(/[^a-zA-Z0-9 ]/g, '');
345
345
  await validateCompileAll(
346
346
  {
347
347
  prefix,
@@ -126,6 +126,10 @@ export default async (options) => {
126
126
  {
127
127
  title: 'Installing tasks dependencies',
128
128
  task: () => execPromise('npm i --force --production=false', { cwd: options.componentDirectory })
129
+ },
130
+ {
131
+ title: 'Installing quick run',
132
+ task: () => execPromise('npm i -g npm-quick-run', { cwd: options.targetDirectory })
129
133
  }
130
134
  ],
131
135
  {
@@ -4,6 +4,7 @@
4
4
  "description": "{{description}}",
5
5
  "organization": "{{organization}}",
6
6
  "main": "src/index.js",
7
+ "type": "module",
7
8
  "scripts": {
8
9
  "startStorybook": "start-storybook --port 6040 --quiet",
9
10
  "lint": "run-p -cl lint:*",
@@ -64,7 +65,7 @@
64
65
  },
65
66
  "devDependencies": {
66
67
  "@pega/configs": "^0.5.3",
67
- "@pega/custom-dx-components": "^0.23.7",
68
+ "@pega/custom-dx-components": "^0.23.8",
68
69
  "@pega/eslint-config": "^0.3.2",
69
70
  "@storybook/addon-actions": "^6.5.12",
70
71
  "@storybook/addon-essentials": "^6.5.12",
@@ -91,7 +92,6 @@
91
92
  "eslint-plugin-sonarjs": "^0.11.0",
92
93
  "jest": "^29.3.1",
93
94
  "jest-environment-jsdom": "^29.3.1",
94
- "npm-quick-run": "^1.18.0",
95
95
  "npm-run-all": "^4.1.5",
96
96
  "prettier": "2.7.1",
97
97
  "stylelint": "^14.11.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Pega_DXIL_MyBoolean",
3
- "label": "My Boolean",
4
- "description": "My Boolean",
3
+ "label": "My Boolean",
4
+ "description": "My Boolean",
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_MyCaseWidget",
3
- "label": "My Case Widget",
4
- "description": "My Case Widget",
3
+ "label": "My Case Widget",
4
+ "description": "My Case Widget",
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 0;
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_MyCurrency",
3
- "label": "My Currency",
4
- "description": "My Currency",
3
+ "label": "My Currency",
4
+ "description": "My Currency",
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_MyDate",
3
- "label": "My Date",
4
- "description": "My Date",
3
+ "label": "My Date",
4
+ "description": "My Date",
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_MyDateTime",
3
- "label": "My DateTime",
4
- "description": "My DateTime",
3
+ "label": "My DateTime",
4
+ "description": "My DateTime",
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_MyDecimal",
3
- "label": "My Decimal",
4
- "description": "My Decimal",
3
+ "label": "My Decimal",
4
+ "description": "My Decimal",
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_MyDetails",
3
- "label": "My Details",
4
- "description": "My Details",
3
+ "label": "My Details",
4
+ "description": "My 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_MyEmail",
3
- "label": "My Email",
4
- "description": "My Email",
3
+ "label": "My Email",
4
+ "description": "My Email",
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_MyForm",
3
- "label": "My Form",
4
- "description": "My Form",
3
+ "label": "My Form",
4
+ "description": "My 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_MyInteger",
3
- "label": "My Integer",
4
- "description": "My Integer",
3
+ "label": "My Integer",
4
+ "description": "My Integer",
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_MyPage",
3
- "label": "My Page",
4
- "description": "My Page",
3
+ "label": "My Page",
4
+ "description": "My Page",
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_MyPageCaseWidget",
3
- "label": "My PageCase Widget",
4
- "description": "My PageCase Widget",
3
+ "label": "My PageCase Widget",
4
+ "description": "My PageCase Widget",
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 0;
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_MyPageWidget",
3
- "label": "My Page Widget",
4
- "description": "My Page Widget",
3
+ "label": "My Page Widget",
4
+ "description": "My Page Widget",
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 0;
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_MyParagraph",
3
- "label": "My Paragraph",
4
- "description": "My Paragraph",
3
+ "label": "My Paragraph",
4
+ "description": "My Paragraph",
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_MyPercentage",
3
- "label": "My Percentage",
4
- "description": "My Percentage",
3
+ "label": "My Percentage",
4
+ "description": "My Percentage",
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_MyPhone",
3
- "label": "My Phone",
4
- "description": "My Phone",
3
+ "label": "My Phone",
4
+ "description": "My Phone",
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_MyPicklist",
3
- "label": "My Picklist",
4
- "description": "My Picklist",
3
+ "label": "My Picklist",
4
+ "description": "My Picklist",
5
5
  "organization": "Pega",
6
6
  "version": "0.0.1",
7
7
  "library": "DXIL",