@pega/custom-dx-components 0.23.48 → 0.23.49
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/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Date/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.tsx.mustache +2 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/demo.stories.tsx.mustache +2 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/demo.stories.tsx.mustache +4 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/index.tsx.mustache +3 -1
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.ts.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Integer/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Picklist/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/demo.stories.tsx.mustache +2 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/demo.stories.tsx.mustache +3 -1
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache +0 -3
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/mock.ts.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Text/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/TimeofDay/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.tsx.mustache +1 -4
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.tsx.mustache +1 -5
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.tsx.mustache +1 -5
- package/src/tasks/init/template/package.json.mustache +1 -1
- package/tests/assets/components/create/Pega_DXIL_MyTestText/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +4 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +3 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.ts +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +2 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +2 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +1 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.ts +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.tsx +3 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/index.tsx +0 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.ts +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx +2 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +1 -5
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.tsx +4 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +3 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.ts +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx +2 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.tsx +2 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +1 -4
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.ts +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +1 -5
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.ts +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.tsx +3 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/index.tsx +0 -3
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.ts +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/demo.stories.tsx +2 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +1 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +1 -5
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.tsx +1 -0
package/package.json
CHANGED
|
@@ -69,6 +69,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
69
69
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
70
70
|
label: configProps.label,
|
|
71
71
|
helperText: configProps.helperText,
|
|
72
|
+
caption: configProps.caption,
|
|
72
73
|
testId: configProps.testId,
|
|
73
74
|
readOnly: configProps.readOnly,
|
|
74
75
|
disabled: configProps.disabled,
|
|
@@ -85,6 +85,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
85
85
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
86
86
|
label: configProps.label,
|
|
87
87
|
helperText: configProps.helperText,
|
|
88
|
+
showWeekNumber: configProps.showWeekNumber,
|
|
88
89
|
testId: configProps.testId,
|
|
89
90
|
readOnly: configProps.readOnly,
|
|
90
91
|
disabled: configProps.disabled,
|
|
@@ -84,6 +84,8 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
84
84
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
85
85
|
label: configProps.label,
|
|
86
86
|
helperText: configProps.helperText,
|
|
87
|
+
withSeconds: configProps.withSeconds,
|
|
88
|
+
showWeekNumber: configProps.showWeekNumber,
|
|
87
89
|
testId: configProps.testId,
|
|
88
90
|
readOnly: configProps.readOnly,
|
|
89
91
|
disabled: configProps.disabled,
|
|
@@ -57,6 +57,8 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
57
57
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
58
58
|
label: configProps.label,
|
|
59
59
|
helperText: configProps.helperText,
|
|
60
|
+
placeholder: configProps.placeholder,
|
|
61
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
60
62
|
testId: configProps.testId,
|
|
61
63
|
readOnly: configProps.readOnly,
|
|
62
64
|
disabled: configProps.disabled,
|
package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/demo.stories.tsx.mustache
CHANGED
|
@@ -61,6 +61,10 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
61
61
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
62
62
|
label: configProps.label,
|
|
63
63
|
helperText: configProps.helperText,
|
|
64
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
65
|
+
allowDecimals: configProps.allowDecimals,
|
|
66
|
+
currencyISOCode: configProps.currencyISOCode,
|
|
67
|
+
alwaysShowISOCode: configProps.alwaysShowISOCode,
|
|
64
68
|
testId: configProps.testId,
|
|
65
69
|
readOnly: configProps.readOnly,
|
|
66
70
|
disabled: configProps.disabled,
|
|
@@ -86,6 +86,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
|
|
|
86
86
|
const [currencyValue, setCurrencyValue] = useState(() => formatValue(value));
|
|
87
87
|
|
|
88
88
|
let { readOnly = false, required = false, disabled = false } = props;
|
|
89
|
+
let { showGroupSeparators = false } = props;
|
|
89
90
|
|
|
90
91
|
[readOnly, required, disabled] = [readOnly, required, disabled].map(
|
|
91
92
|
(prop) => prop === true || (typeof prop === 'string' && prop === 'true')
|
|
@@ -120,7 +121,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
|
|
|
120
121
|
displayMode === 'DISPLAY_ONLY'
|
|
121
122
|
) {
|
|
122
123
|
let displayComp;
|
|
123
|
-
let { showGroupSeparators = false } = props;
|
|
124
|
+
// let { showGroupSeparators = false } = props;
|
|
124
125
|
if (displayMode === 'LABELS_LEFT' && isTableFormatter) {
|
|
125
126
|
noOfFractionDigits = undefined;
|
|
126
127
|
showGroupSeparators = true;
|
|
@@ -245,6 +246,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
|
|
|
245
246
|
showDecimal={allowDecimals}
|
|
246
247
|
currencyISOCode={currencyISOCode}
|
|
247
248
|
alwaysShowISOCode={alwaysShowISOCode}
|
|
249
|
+
showGroupSeparators={showGroupSeparators}
|
|
248
250
|
placeholder={placeholder}
|
|
249
251
|
disabled={disabled}
|
|
250
252
|
readOnly={readOnly}
|
package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/demo.stories.tsx.mustache
CHANGED
|
@@ -57,6 +57,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
57
57
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
58
58
|
label: configProps.label,
|
|
59
59
|
helperText: configProps.helperText,
|
|
60
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
60
61
|
testId: configProps.testId,
|
|
61
62
|
readOnly: configProps.readOnly,
|
|
62
63
|
disabled: configProps.disabled,
|
|
@@ -56,6 +56,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
56
56
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
|
@@ -86,6 +86,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
86
86
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
87
87
|
label: configProps.label,
|
|
88
88
|
helperText: configProps.helperText,
|
|
89
|
+
placeholder: configProps.placeholder,
|
|
89
90
|
testId: configProps.testId,
|
|
90
91
|
readOnly: configProps.readOnly,
|
|
91
92
|
disabled: configProps.disabled,
|
|
@@ -95,6 +95,8 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
95
95
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
96
96
|
label: configProps.label,
|
|
97
97
|
helperText: configProps.helperText,
|
|
98
|
+
placeholder: configProps.placeholder,
|
|
99
|
+
isTableFormatter: false,
|
|
98
100
|
testId: configProps.testId,
|
|
99
101
|
readOnly: configProps.readOnly,
|
|
100
102
|
disabled: configProps.disabled,
|
|
@@ -23,11 +23,11 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
23
23
|
|
|
24
24
|
const props = {
|
|
25
25
|
value,
|
|
26
|
-
align: 'vertical',
|
|
27
26
|
placeholder: configProps.placeholder,
|
|
28
27
|
label: configProps.label,
|
|
29
28
|
helperText: configProps.helperText,
|
|
30
29
|
datasource: configProps.datasource,
|
|
30
|
+
inline: configProps.inline,
|
|
31
31
|
testId: configProps.testId,
|
|
32
32
|
hasSuggestions: configProps.hasSuggestions,
|
|
33
33
|
fieldMetadata,
|
|
@@ -90,6 +90,8 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
90
90
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
91
91
|
label: configProps.label,
|
|
92
92
|
helperText: configProps.helperText,
|
|
93
|
+
placeholder: configProps.placeholder,
|
|
94
|
+
inline: configProps.inline,
|
|
93
95
|
testId: configProps.testId,
|
|
94
96
|
readOnly: configProps.readOnly,
|
|
95
97
|
disabled: configProps.disabled,
|
package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache
CHANGED
|
@@ -19,7 +19,6 @@ interface {{COMPONENT_CLASS_NAME}}Props extends PConnFieldProps {
|
|
|
19
19
|
listType: string;
|
|
20
20
|
datasource: Array<any>;
|
|
21
21
|
inline: boolean;
|
|
22
|
-
align: string;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
|
|
@@ -62,7 +61,6 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
|
|
|
62
61
|
datasource = [],
|
|
63
62
|
listType,
|
|
64
63
|
validatemessage,
|
|
65
|
-
align = 'vertical',
|
|
66
64
|
testId,
|
|
67
65
|
additionalProps = {},
|
|
68
66
|
displayMode,
|
|
@@ -185,7 +183,6 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
|
|
|
185
183
|
// @ts-ignore
|
|
186
184
|
pConn.getValidationApi().validate(event.target.value);
|
|
187
185
|
}}
|
|
188
|
-
align={align}
|
|
189
186
|
disabled={disabled}
|
|
190
187
|
className='standard'
|
|
191
188
|
name={fullReference}
|
|
@@ -59,6 +59,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
59
59
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
60
60
|
label: configProps.label,
|
|
61
61
|
helperText: configProps.helperText,
|
|
62
|
+
placeholder: configProps.placeholder,
|
|
62
63
|
testId: configProps.testId,
|
|
63
64
|
readOnly: configProps.readOnly,
|
|
64
65
|
disabled: configProps.disabled,
|
|
@@ -56,6 +56,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
56
56
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
|
@@ -56,6 +56,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
56
56
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/demo.stories.tsx.mustache
CHANGED
|
@@ -56,6 +56,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
56
56
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
|
@@ -54,6 +54,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
54
54
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
55
55
|
label: configProps.label,
|
|
56
56
|
helperText: configProps.helperText,
|
|
57
|
+
placeholder: configProps.placeholder,
|
|
57
58
|
testId: configProps.testId,
|
|
58
59
|
readOnly: configProps.readOnly,
|
|
59
60
|
disabled: configProps.disabled,
|
|
@@ -54,6 +54,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
54
54
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
55
55
|
label: configProps.label,
|
|
56
56
|
helperText: configProps.helperText,
|
|
57
|
+
placeholder: configProps.placeholder,
|
|
57
58
|
testId: configProps.testId,
|
|
58
59
|
readOnly: configProps.readOnly,
|
|
59
60
|
disabled: configProps.disabled,
|
|
@@ -64,6 +64,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
|
64
64
|
Base{{COMPONENT_CLASS_NAME}}.args = {
|
|
65
65
|
label: configProps.label,
|
|
66
66
|
helperText: configProps.helperText,
|
|
67
|
+
withSeconds: configProps.withSeconds,
|
|
67
68
|
testId: configProps.testId,
|
|
68
69
|
readOnly: configProps.readOnly,
|
|
69
70
|
disabled: configProps.disabled,
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@pega/configs": "^0.6.0",
|
|
71
|
-
"@pega/custom-dx-components": "0.23.
|
|
71
|
+
"@pega/custom-dx-components": "0.23.49",
|
|
72
72
|
"@pega/pcore-pconnect-typedefs": "~2.1.1",
|
|
73
73
|
"@storybook/addon-actions": "^7.6.7",
|
|
74
74
|
"@storybook/addon-essentials": "^7.6.7",
|
|
@@ -59,6 +59,7 @@ export const BasePegaDxilMyTestText: Story = args => {
|
|
|
59
59
|
BasePegaDxilMyTestText.args = {
|
|
60
60
|
label: configProps.label,
|
|
61
61
|
helperText: configProps.helperText,
|
|
62
|
+
placeholder: configProps.placeholder,
|
|
62
63
|
testId: configProps.testId,
|
|
63
64
|
readOnly: configProps.readOnly,
|
|
64
65
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx
CHANGED
|
@@ -69,6 +69,7 @@ export const BasePegaDxilMyBoolean: Story = args => {
|
|
|
69
69
|
BasePegaDxilMyBoolean.args = {
|
|
70
70
|
label: configProps.label,
|
|
71
71
|
helperText: configProps.helperText,
|
|
72
|
+
caption: configProps.caption,
|
|
72
73
|
testId: configProps.testId,
|
|
73
74
|
readOnly: configProps.readOnly,
|
|
74
75
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx
CHANGED
|
@@ -61,6 +61,10 @@ export const BasePegaDxilMyCurrency: Story = args => {
|
|
|
61
61
|
BasePegaDxilMyCurrency.args = {
|
|
62
62
|
label: configProps.label,
|
|
63
63
|
helperText: configProps.helperText,
|
|
64
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
65
|
+
allowDecimals: configProps.allowDecimals,
|
|
66
|
+
currencyISOCode: configProps.currencyISOCode,
|
|
67
|
+
alwaysShowISOCode: configProps.alwaysShowISOCode,
|
|
64
68
|
testId: configProps.testId,
|
|
65
69
|
readOnly: configProps.readOnly,
|
|
66
70
|
disabled: configProps.disabled,
|
|
@@ -86,6 +86,7 @@ function PegaDxilMyCurrency(props: PegaDxilMyCurrencyProps) {
|
|
|
86
86
|
const [currencyValue, setCurrencyValue] = useState(() => formatValue(value));
|
|
87
87
|
|
|
88
88
|
let { readOnly = false, required = false, disabled = false } = props;
|
|
89
|
+
let { showGroupSeparators = false } = props;
|
|
89
90
|
|
|
90
91
|
[readOnly, required, disabled] = [readOnly, required, disabled].map(
|
|
91
92
|
(prop) => prop === true || (typeof prop === 'string' && prop === 'true')
|
|
@@ -120,7 +121,7 @@ function PegaDxilMyCurrency(props: PegaDxilMyCurrencyProps) {
|
|
|
120
121
|
displayMode === 'DISPLAY_ONLY'
|
|
121
122
|
) {
|
|
122
123
|
let displayComp;
|
|
123
|
-
let { showGroupSeparators = false } = props;
|
|
124
|
+
// let { showGroupSeparators = false } = props;
|
|
124
125
|
if (displayMode === 'LABELS_LEFT' && isTableFormatter) {
|
|
125
126
|
noOfFractionDigits = undefined;
|
|
126
127
|
showGroupSeparators = true;
|
|
@@ -242,6 +243,7 @@ function PegaDxilMyCurrency(props: PegaDxilMyCurrencyProps) {
|
|
|
242
243
|
showDecimal={allowDecimals}
|
|
243
244
|
currencyISOCode={currencyISOCode}
|
|
244
245
|
alwaysShowISOCode={alwaysShowISOCode}
|
|
246
|
+
showGroupSeparators={showGroupSeparators}
|
|
245
247
|
placeholder={placeholder}
|
|
246
248
|
disabled={disabled}
|
|
247
249
|
readOnly={readOnly}
|
|
@@ -85,6 +85,7 @@ export const BasePegaDxilMyDate: Story = args => {
|
|
|
85
85
|
BasePegaDxilMyDate.args = {
|
|
86
86
|
label: configProps.label,
|
|
87
87
|
helperText: configProps.helperText,
|
|
88
|
+
showWeekNumber: configProps.showWeekNumber,
|
|
88
89
|
testId: configProps.testId,
|
|
89
90
|
readOnly: configProps.readOnly,
|
|
90
91
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx
CHANGED
|
@@ -84,6 +84,8 @@ export const BasePegaDxilMyDateTime: Story = args => {
|
|
|
84
84
|
BasePegaDxilMyDateTime.args = {
|
|
85
85
|
label: configProps.label,
|
|
86
86
|
helperText: configProps.helperText,
|
|
87
|
+
withSeconds: configProps.withSeconds,
|
|
88
|
+
showWeekNumber: configProps.showWeekNumber,
|
|
87
89
|
testId: configProps.testId,
|
|
88
90
|
readOnly: configProps.readOnly,
|
|
89
91
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx
CHANGED
|
@@ -57,6 +57,8 @@ export const BasePegaDxilMyDecimal: Story = args => {
|
|
|
57
57
|
BasePegaDxilMyDecimal.args = {
|
|
58
58
|
label: configProps.label,
|
|
59
59
|
helperText: configProps.helperText,
|
|
60
|
+
placeholder: configProps.placeholder,
|
|
61
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
60
62
|
testId: configProps.testId,
|
|
61
63
|
readOnly: configProps.readOnly,
|
|
62
64
|
disabled: configProps.disabled,
|
|
@@ -56,6 +56,7 @@ export const BasePegaDxilMyEmail: Story = args => {
|
|
|
56
56
|
BasePegaDxilMyEmail.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx
CHANGED
|
@@ -56,6 +56,7 @@ export const BasePegaDxilMyInteger: Story = args => {
|
|
|
56
56
|
BasePegaDxilMyInteger.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx
CHANGED
|
@@ -56,6 +56,7 @@ export const BasePegaDxilMyParagraph: Story = args => {
|
|
|
56
56
|
BasePegaDxilMyParagraph.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx
CHANGED
|
@@ -57,6 +57,7 @@ export const BasePegaDxilMyPercentage: Story = args => {
|
|
|
57
57
|
BasePegaDxilMyPercentage.args = {
|
|
58
58
|
label: configProps.label,
|
|
59
59
|
helperText: configProps.helperText,
|
|
60
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
60
61
|
testId: configProps.testId,
|
|
61
62
|
readOnly: configProps.readOnly,
|
|
62
63
|
disabled: configProps.disabled,
|
|
@@ -54,6 +54,7 @@ export const BasePegaDxilMyPhone: Story = args => {
|
|
|
54
54
|
BasePegaDxilMyPhone.args = {
|
|
55
55
|
label: configProps.label,
|
|
56
56
|
helperText: configProps.helperText,
|
|
57
|
+
placeholder: configProps.placeholder,
|
|
57
58
|
testId: configProps.testId,
|
|
58
59
|
readOnly: configProps.readOnly,
|
|
59
60
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx
CHANGED
|
@@ -86,6 +86,7 @@ export const BasePegaDxilMyPicklist: Story = args => {
|
|
|
86
86
|
BasePegaDxilMyPicklist.args = {
|
|
87
87
|
label: configProps.label,
|
|
88
88
|
helperText: configProps.helperText,
|
|
89
|
+
placeholder: configProps.placeholder,
|
|
89
90
|
testId: configProps.testId,
|
|
90
91
|
readOnly: configProps.readOnly,
|
|
91
92
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.tsx
CHANGED
|
@@ -23,11 +23,11 @@ export const BasePegaDxilMyRadiobuttons: Story = args => {
|
|
|
23
23
|
|
|
24
24
|
const props = {
|
|
25
25
|
value,
|
|
26
|
-
align: 'vertical',
|
|
27
26
|
placeholder: configProps.placeholder,
|
|
28
27
|
label: configProps.label,
|
|
29
28
|
helperText: configProps.helperText,
|
|
30
29
|
datasource: configProps.datasource,
|
|
30
|
+
inline: configProps.inline,
|
|
31
31
|
testId: configProps.testId,
|
|
32
32
|
hasSuggestions: configProps.hasSuggestions,
|
|
33
33
|
fieldMetadata,
|
|
@@ -90,6 +90,8 @@ export const BasePegaDxilMyRadiobuttons: Story = args => {
|
|
|
90
90
|
BasePegaDxilMyRadiobuttons.args = {
|
|
91
91
|
label: configProps.label,
|
|
92
92
|
helperText: configProps.helperText,
|
|
93
|
+
placeholder: configProps.placeholder,
|
|
94
|
+
inline: configProps.inline,
|
|
93
95
|
testId: configProps.testId,
|
|
94
96
|
readOnly: configProps.readOnly,
|
|
95
97
|
disabled: configProps.disabled,
|
|
@@ -19,7 +19,6 @@ interface PegaDxilMyRadiobuttonsProps extends PConnFieldProps {
|
|
|
19
19
|
listType: string;
|
|
20
20
|
datasource: Array<any>;
|
|
21
21
|
inline: boolean;
|
|
22
|
-
align: string;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
|
|
@@ -62,7 +61,6 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
62
61
|
datasource = [],
|
|
63
62
|
listType,
|
|
64
63
|
validatemessage,
|
|
65
|
-
align = 'vertical',
|
|
66
64
|
testId,
|
|
67
65
|
additionalProps = {},
|
|
68
66
|
displayMode,
|
|
@@ -185,7 +183,6 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
185
183
|
// @ts-ignore
|
|
186
184
|
pConn.getValidationApi().validate(event.target.value);
|
|
187
185
|
}}
|
|
188
|
-
align={align}
|
|
189
186
|
disabled={disabled}
|
|
190
187
|
className='standard'
|
|
191
188
|
name={fullReference}
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx
CHANGED
|
@@ -95,6 +95,8 @@ export const BasePegaDxilMySearchbox: Story = args => {
|
|
|
95
95
|
BasePegaDxilMySearchbox.args = {
|
|
96
96
|
label: configProps.label,
|
|
97
97
|
helperText: configProps.helperText,
|
|
98
|
+
placeholder: configProps.placeholder,
|
|
99
|
+
isTableFormatter: false,
|
|
98
100
|
testId: configProps.testId,
|
|
99
101
|
readOnly: configProps.readOnly,
|
|
100
102
|
disabled: configProps.disabled,
|
|
@@ -59,6 +59,7 @@ export const BasePegaDxilMyText: Story = args => {
|
|
|
59
59
|
BasePegaDxilMyText.args = {
|
|
60
60
|
label: configProps.label,
|
|
61
61
|
helperText: configProps.helperText,
|
|
62
|
+
placeholder: configProps.placeholder,
|
|
62
63
|
testId: configProps.testId,
|
|
63
64
|
readOnly: configProps.readOnly,
|
|
64
65
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx
CHANGED
|
@@ -56,6 +56,7 @@ export const BasePegaDxilMyTextInput: Story = args => {
|
|
|
56
56
|
BasePegaDxilMyTextInput.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx
CHANGED
|
@@ -64,6 +64,7 @@ export const BasePegaDxilMyTimeOfDay: Story = args => {
|
|
|
64
64
|
BasePegaDxilMyTimeOfDay.args = {
|
|
65
65
|
label: configProps.label,
|
|
66
66
|
helperText: configProps.helperText,
|
|
67
|
+
withSeconds: configProps.withSeconds,
|
|
67
68
|
testId: configProps.testId,
|
|
68
69
|
readOnly: configProps.readOnly,
|
|
69
70
|
disabled: configProps.disabled,
|
|
@@ -148,8 +148,4 @@ export const BasePegaDxilMyTwoColumnDetails: Story = args => {
|
|
|
148
148
|
);
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
-
BasePegaDxilMyTwoColumnDetails.args = {
|
|
152
|
-
showHighlightedData: false,
|
|
153
|
-
label: 'Details Region',
|
|
154
|
-
showLabel: true
|
|
155
|
-
};
|
|
151
|
+
BasePegaDxilMyTwoColumnDetails.args = {};
|
|
@@ -54,6 +54,7 @@ export const BasePegaDxilMyUrl: Story = args => {
|
|
|
54
54
|
BasePegaDxilMyUrl.args = {
|
|
55
55
|
label: configProps.label,
|
|
56
56
|
helperText: configProps.helperText,
|
|
57
|
+
placeholder: configProps.placeholder,
|
|
57
58
|
testId: configProps.testId,
|
|
58
59
|
readOnly: configProps.readOnly,
|
|
59
60
|
disabled: configProps.disabled,
|
|
@@ -69,6 +69,7 @@ export const BasePegaDxilMyBoolean: Story = args => {
|
|
|
69
69
|
BasePegaDxilMyBoolean.args = {
|
|
70
70
|
label: configProps.label,
|
|
71
71
|
helperText: configProps.helperText,
|
|
72
|
+
caption: configProps.caption,
|
|
72
73
|
testId: configProps.testId,
|
|
73
74
|
readOnly: configProps.readOnly,
|
|
74
75
|
disabled: configProps.disabled,
|
|
@@ -61,6 +61,10 @@ export const BasePegaDxilMyCurrency: Story = args => {
|
|
|
61
61
|
BasePegaDxilMyCurrency.args = {
|
|
62
62
|
label: configProps.label,
|
|
63
63
|
helperText: configProps.helperText,
|
|
64
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
65
|
+
allowDecimals: configProps.allowDecimals,
|
|
66
|
+
currencyISOCode: configProps.currencyISOCode,
|
|
67
|
+
alwaysShowISOCode: configProps.alwaysShowISOCode,
|
|
64
68
|
testId: configProps.testId,
|
|
65
69
|
readOnly: configProps.readOnly,
|
|
66
70
|
disabled: configProps.disabled,
|
|
@@ -86,6 +86,7 @@ function PegaDxilMyCurrency(props: PegaDxilMyCurrencyProps) {
|
|
|
86
86
|
const [currencyValue, setCurrencyValue] = useState(() => formatValue(value));
|
|
87
87
|
|
|
88
88
|
let { readOnly = false, required = false, disabled = false } = props;
|
|
89
|
+
let { showGroupSeparators = false } = props;
|
|
89
90
|
|
|
90
91
|
[readOnly, required, disabled] = [readOnly, required, disabled].map(
|
|
91
92
|
(prop) => prop === true || (typeof prop === 'string' && prop === 'true')
|
|
@@ -120,7 +121,7 @@ function PegaDxilMyCurrency(props: PegaDxilMyCurrencyProps) {
|
|
|
120
121
|
displayMode === 'DISPLAY_ONLY'
|
|
121
122
|
) {
|
|
122
123
|
let displayComp;
|
|
123
|
-
let { showGroupSeparators = false } = props;
|
|
124
|
+
// let { showGroupSeparators = false } = props;
|
|
124
125
|
if (displayMode === 'LABELS_LEFT' && isTableFormatter) {
|
|
125
126
|
noOfFractionDigits = undefined;
|
|
126
127
|
showGroupSeparators = true;
|
|
@@ -242,6 +243,7 @@ function PegaDxilMyCurrency(props: PegaDxilMyCurrencyProps) {
|
|
|
242
243
|
showDecimal={allowDecimals}
|
|
243
244
|
currencyISOCode={currencyISOCode}
|
|
244
245
|
alwaysShowISOCode={alwaysShowISOCode}
|
|
246
|
+
showGroupSeparators={showGroupSeparators}
|
|
245
247
|
placeholder={placeholder}
|
|
246
248
|
disabled={disabled}
|
|
247
249
|
readOnly={readOnly}
|
|
@@ -85,6 +85,7 @@ export const BasePegaDxilMyDate: Story = args => {
|
|
|
85
85
|
BasePegaDxilMyDate.args = {
|
|
86
86
|
label: configProps.label,
|
|
87
87
|
helperText: configProps.helperText,
|
|
88
|
+
showWeekNumber: configProps.showWeekNumber,
|
|
88
89
|
testId: configProps.testId,
|
|
89
90
|
readOnly: configProps.readOnly,
|
|
90
91
|
disabled: configProps.disabled,
|
|
@@ -84,6 +84,8 @@ export const BasePegaDxilMyDateTime: Story = args => {
|
|
|
84
84
|
BasePegaDxilMyDateTime.args = {
|
|
85
85
|
label: configProps.label,
|
|
86
86
|
helperText: configProps.helperText,
|
|
87
|
+
withSeconds: configProps.withSeconds,
|
|
88
|
+
showWeekNumber: configProps.showWeekNumber,
|
|
87
89
|
testId: configProps.testId,
|
|
88
90
|
readOnly: configProps.readOnly,
|
|
89
91
|
disabled: configProps.disabled,
|
|
@@ -57,6 +57,8 @@ export const BasePegaDxilMyDecimal: Story = args => {
|
|
|
57
57
|
BasePegaDxilMyDecimal.args = {
|
|
58
58
|
label: configProps.label,
|
|
59
59
|
helperText: configProps.helperText,
|
|
60
|
+
placeholder: configProps.placeholder,
|
|
61
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
60
62
|
testId: configProps.testId,
|
|
61
63
|
readOnly: configProps.readOnly,
|
|
62
64
|
disabled: configProps.disabled,
|
|
@@ -56,6 +56,7 @@ export const BasePegaDxilMyEmail: Story = args => {
|
|
|
56
56
|
BasePegaDxilMyEmail.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
|
@@ -56,6 +56,7 @@ export const BasePegaDxilMyInteger: Story = args => {
|
|
|
56
56
|
BasePegaDxilMyInteger.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
|
@@ -56,6 +56,7 @@ export const BasePegaDxilMyParagraph: Story = args => {
|
|
|
56
56
|
BasePegaDxilMyParagraph.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
|
@@ -57,6 +57,7 @@ export const BasePegaDxilMyPercentage: Story = args => {
|
|
|
57
57
|
BasePegaDxilMyPercentage.args = {
|
|
58
58
|
label: configProps.label,
|
|
59
59
|
helperText: configProps.helperText,
|
|
60
|
+
showGroupSeparators: configProps.showGroupSeparators,
|
|
60
61
|
testId: configProps.testId,
|
|
61
62
|
readOnly: configProps.readOnly,
|
|
62
63
|
disabled: configProps.disabled,
|
|
@@ -54,6 +54,7 @@ export const BasePegaDxilMyPhone: Story = args => {
|
|
|
54
54
|
BasePegaDxilMyPhone.args = {
|
|
55
55
|
label: configProps.label,
|
|
56
56
|
helperText: configProps.helperText,
|
|
57
|
+
placeholder: configProps.placeholder,
|
|
57
58
|
testId: configProps.testId,
|
|
58
59
|
readOnly: configProps.readOnly,
|
|
59
60
|
disabled: configProps.disabled,
|
|
@@ -86,6 +86,7 @@ export const BasePegaDxilMyPicklist: Story = args => {
|
|
|
86
86
|
BasePegaDxilMyPicklist.args = {
|
|
87
87
|
label: configProps.label,
|
|
88
88
|
helperText: configProps.helperText,
|
|
89
|
+
placeholder: configProps.placeholder,
|
|
89
90
|
testId: configProps.testId,
|
|
90
91
|
readOnly: configProps.readOnly,
|
|
91
92
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.tsx
CHANGED
|
@@ -23,11 +23,11 @@ export const BasePegaDxilMyRadiobuttons: Story = args => {
|
|
|
23
23
|
|
|
24
24
|
const props = {
|
|
25
25
|
value,
|
|
26
|
-
align: 'vertical',
|
|
27
26
|
placeholder: configProps.placeholder,
|
|
28
27
|
label: configProps.label,
|
|
29
28
|
helperText: configProps.helperText,
|
|
30
29
|
datasource: configProps.datasource,
|
|
30
|
+
inline: configProps.inline,
|
|
31
31
|
testId: configProps.testId,
|
|
32
32
|
hasSuggestions: configProps.hasSuggestions,
|
|
33
33
|
fieldMetadata,
|
|
@@ -90,6 +90,8 @@ export const BasePegaDxilMyRadiobuttons: Story = args => {
|
|
|
90
90
|
BasePegaDxilMyRadiobuttons.args = {
|
|
91
91
|
label: configProps.label,
|
|
92
92
|
helperText: configProps.helperText,
|
|
93
|
+
placeholder: configProps.placeholder,
|
|
94
|
+
inline: configProps.inline,
|
|
93
95
|
testId: configProps.testId,
|
|
94
96
|
readOnly: configProps.readOnly,
|
|
95
97
|
disabled: configProps.disabled,
|
|
@@ -19,7 +19,6 @@ interface PegaDxilMyRadiobuttonsProps extends PConnFieldProps {
|
|
|
19
19
|
listType: string;
|
|
20
20
|
datasource: Array<any>;
|
|
21
21
|
inline: boolean;
|
|
22
|
-
align: string;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
|
|
@@ -62,7 +61,6 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
62
61
|
datasource = [],
|
|
63
62
|
listType,
|
|
64
63
|
validatemessage,
|
|
65
|
-
align = 'vertical',
|
|
66
64
|
testId,
|
|
67
65
|
additionalProps = {},
|
|
68
66
|
displayMode,
|
|
@@ -185,7 +183,6 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
185
183
|
// @ts-ignore
|
|
186
184
|
pConn.getValidationApi().validate(event.target.value);
|
|
187
185
|
}}
|
|
188
|
-
align={align}
|
|
189
186
|
disabled={disabled}
|
|
190
187
|
className='standard'
|
|
191
188
|
name={fullReference}
|
|
@@ -95,6 +95,8 @@ export const BasePegaDxilMySearchbox: Story = args => {
|
|
|
95
95
|
BasePegaDxilMySearchbox.args = {
|
|
96
96
|
label: configProps.label,
|
|
97
97
|
helperText: configProps.helperText,
|
|
98
|
+
placeholder: configProps.placeholder,
|
|
99
|
+
isTableFormatter: false,
|
|
98
100
|
testId: configProps.testId,
|
|
99
101
|
readOnly: configProps.readOnly,
|
|
100
102
|
disabled: configProps.disabled,
|
|
@@ -59,6 +59,7 @@ export const BasePegaDxilMyText: Story = args => {
|
|
|
59
59
|
BasePegaDxilMyText.args = {
|
|
60
60
|
label: configProps.label,
|
|
61
61
|
helperText: configProps.helperText,
|
|
62
|
+
placeholder: configProps.placeholder,
|
|
62
63
|
testId: configProps.testId,
|
|
63
64
|
readOnly: configProps.readOnly,
|
|
64
65
|
disabled: configProps.disabled,
|
|
@@ -56,6 +56,7 @@ export const BasePegaDxilMyTextInput: Story = args => {
|
|
|
56
56
|
BasePegaDxilMyTextInput.args = {
|
|
57
57
|
label: configProps.label,
|
|
58
58
|
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
59
60
|
testId: configProps.testId,
|
|
60
61
|
readOnly: configProps.readOnly,
|
|
61
62
|
disabled: configProps.disabled,
|
|
@@ -64,6 +64,7 @@ export const BasePegaDxilMyTimeOfDay: Story = args => {
|
|
|
64
64
|
BasePegaDxilMyTimeOfDay.args = {
|
|
65
65
|
label: configProps.label,
|
|
66
66
|
helperText: configProps.helperText,
|
|
67
|
+
withSeconds: configProps.withSeconds,
|
|
67
68
|
testId: configProps.testId,
|
|
68
69
|
readOnly: configProps.readOnly,
|
|
69
70
|
disabled: configProps.disabled,
|
package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx
CHANGED
|
@@ -148,8 +148,4 @@ export const BasePegaDxilMyTwoColumnDetails: Story = args => {
|
|
|
148
148
|
);
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
-
BasePegaDxilMyTwoColumnDetails.args = {
|
|
152
|
-
showHighlightedData: false,
|
|
153
|
-
label: 'Details Region',
|
|
154
|
-
showLabel: true
|
|
155
|
-
};
|
|
151
|
+
BasePegaDxilMyTwoColumnDetails.args = {};
|
|
@@ -54,6 +54,7 @@ export const BasePegaDxilMyUrl: Story = args => {
|
|
|
54
54
|
BasePegaDxilMyUrl.args = {
|
|
55
55
|
label: configProps.label,
|
|
56
56
|
helperText: configProps.helperText,
|
|
57
|
+
placeholder: configProps.placeholder,
|
|
57
58
|
testId: configProps.testId,
|
|
58
59
|
readOnly: configProps.readOnly,
|
|
59
60
|
disabled: configProps.disabled,
|