@pega/custom-dx-components 0.23.7 → 0.23.9
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/templates/Constellation/Field/Boolean/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Date/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/DateTime/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Decimal/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Integer/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Picklist/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Text/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Text-Email/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Text-Input/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/Text-URL/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Template/FORM/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Template/PAGE/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Widget/CASE/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.js.mustache +12 -11
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.js.mustache +12 -11
- package/src/tasks/create-all/index.js +1 -1
- package/src/tasks/init/index.js +4 -0
- package/src/tasks/init/template/package.json.mustache +2 -2
- package/src/tasks/init/template/test/assets/components/create/Pega_DXIL_MyTestText/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/styles.js +13 -6
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/config.json +2 -2
- package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/styles.js +13 -6
- package/src/tasks/init/template/test/functionTest/localCreateAllListDeleteAll.test.js +1 -1
- package/src/tasks/list/helper.js +2 -2
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
4
|
-
// import { Configuration } from '@pega/cosmos-react-core';
|
|
5
|
-
// export default styled(Configuration)``;
|
|
5
|
+
export default styled(Configuration)``;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
//
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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(
|
|
344
|
+
prefix = prefix.replace(/[^a-zA-Z0-9 ]/g, '');
|
|
345
345
|
await validateCompileAll(
|
|
346
346
|
{
|
|
347
347
|
prefix,
|
package/src/tasks/init/index.js
CHANGED
|
@@ -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.
|
|
68
|
+
"@pega/custom-dx-components": "^0.23.9",
|
|
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",
|
package/src/tasks/init/template/test/assets/components/create/Pega_DXIL_MyTestText/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|
package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/styles.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
// });
|