@orchestrator-ui/orchestrator-ui-components 5.2.3 → 5.2.4
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/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoProductBlockKeyValueRow.tsx +8 -4
- package/src/configuration/version.ts +1 -1
package/package.json
CHANGED
package/src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoProductBlockKeyValueRow.tsx
CHANGED
|
@@ -9,14 +9,18 @@ import { camelToHuman } from '@/utils';
|
|
|
9
9
|
|
|
10
10
|
import { getStyles } from './styles';
|
|
11
11
|
|
|
12
|
+
export const KEY_CELL_CLASS_NAME = 'key-cell';
|
|
13
|
+
export const VALUE_CELL_CLASS_NAME = 'value-cell';
|
|
14
|
+
|
|
12
15
|
export type WfoProductBlockKeyValueRowProps = {
|
|
13
16
|
fieldValue: FieldValue | RenderableFieldValue;
|
|
14
17
|
allFieldValues: FieldValue[] | RenderableFieldValue[];
|
|
18
|
+
className?: string;
|
|
15
19
|
};
|
|
16
20
|
|
|
17
21
|
export const WfoProductBlockKeyValueRow: FC<
|
|
18
22
|
WfoProductBlockKeyValueRowProps
|
|
19
|
-
> = ({ fieldValue, allFieldValues }) => {
|
|
23
|
+
> = ({ fieldValue, allFieldValues, className }) => {
|
|
20
24
|
const { leftColumnStyle, rowStyle } = useWithOrchestratorTheme(getStyles);
|
|
21
25
|
const { getOverriddenValue } = useSubscriptionDetailValueOverride();
|
|
22
26
|
|
|
@@ -36,11 +40,11 @@ export const WfoProductBlockKeyValueRow: FC<
|
|
|
36
40
|
};
|
|
37
41
|
|
|
38
42
|
return (
|
|
39
|
-
<tr css={rowStyle}>
|
|
40
|
-
<td css={leftColumnStyle}>
|
|
43
|
+
<tr className={className} css={rowStyle}>
|
|
44
|
+
<td className={KEY_CELL_CLASS_NAME} css={leftColumnStyle}>
|
|
41
45
|
<b>{camelToHuman(field)}</b>
|
|
42
46
|
</td>
|
|
43
|
-
<td>
|
|
47
|
+
<td className={VALUE_CELL_CLASS_NAME}>
|
|
44
48
|
{getOverriddenValue(fieldValue, allFieldValues) ?? (
|
|
45
49
|
<WfoProductBlockValue value={value} />
|
|
46
50
|
)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const ORCHESTRATOR_UI_LIBRARY_VERSION = '5.2.
|
|
1
|
+
export const ORCHESTRATOR_UI_LIBRARY_VERSION = '5.2.4';
|