@shelf/global-renderer 0.25.23 → 0.26.0
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/CHANGELOG.md +11 -0
- package/lib/DecisionTreeContent/DecisionTreeContent.styled.d.ts +3 -0
- package/lib/DecisionTreeContent/helpers.d.ts +5 -2
- package/lib/DecisionTreeContent/mocks.d.ts +8 -0
- package/lib/DecisionTreeContent/types.d.ts +4 -0
- package/lib/renderDTContent.js +1 -1
- package/lib/renderStaticDTDiagram.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.26.0](https://github.com/shelfio/libs-frontend/compare/@shelf/global-renderer@0.25.24...@shelf/global-renderer@0.26.0) (2023-04-24)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- REACT-377 Add default condition ([484b5cf](https://github.com/shelfio/libs-frontend/commit/484b5cfa536901cab0667e0b77bd0a076db59a96))
|
|
11
|
+
- REACT-377 Add deleted label ([841f271](https://github.com/shelfio/libs-frontend/commit/841f2710d286022efa8033d8fe580782dc592e06))
|
|
12
|
+
|
|
13
|
+
### [0.25.24](https://github.com/shelfio/libs-frontend/compare/@shelf/global-renderer@0.25.23...@shelf/global-renderer@0.25.24) (2023-04-24)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package @shelf/global-renderer
|
|
16
|
+
|
|
6
17
|
### [0.25.23](https://github.com/shelfio/libs-frontend/compare/@shelf/global-renderer@0.25.22...@shelf/global-renderer@0.25.23) (2023-04-24)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @shelf/global-renderer
|
|
@@ -25,6 +25,9 @@ export declare const AnswerNumber: import("styled-components").StyledComponent<"
|
|
|
25
25
|
export declare const AssignmentIconBlock: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
26
26
|
export declare const AssignmentIcon: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
27
27
|
export declare const AnswerTitle: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
28
|
+
export declare const AnswerVariable: import("styled-components").StyledComponent<"span", any, {
|
|
29
|
+
isDeleted?: boolean | undefined;
|
|
30
|
+
}, never>;
|
|
28
31
|
export declare const Condition: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
29
32
|
export declare const Rule: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
30
33
|
export declare const StepLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
@@ -27,9 +27,12 @@ export declare const getTreeWithParentSteps: (tree: Omit<DTStep, 'parentSteps'>[
|
|
|
27
27
|
textS3Key?: string | undefined;
|
|
28
28
|
url?: string | undefined;
|
|
29
29
|
settings?: import("@shelf/types-ddb/lib/decision-tree").StepSettings | undefined;
|
|
30
|
-
defaultNextStep?: {
|
|
30
|
+
defaultNextStep?: ({
|
|
31
31
|
id: string;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
|
+
id: string;
|
|
34
|
+
number?: string | undefined;
|
|
35
|
+
}) | undefined;
|
|
33
36
|
conditions?: (import("@shelf/types-ddb/lib/decision-tree").Condition[] & import("./types").ConditionType[]) | undefined;
|
|
34
37
|
content?: string | undefined;
|
|
35
38
|
linkedSteps?: {
|
|
@@ -20,6 +20,9 @@ export declare const dtData: {
|
|
|
20
20
|
};
|
|
21
21
|
borderColor?: undefined;
|
|
22
22
|
};
|
|
23
|
+
defaultNextStep: {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
23
26
|
conditions: ({
|
|
24
27
|
id: string;
|
|
25
28
|
nextStep: {
|
|
@@ -86,6 +89,7 @@ export declare const dtData: {
|
|
|
86
89
|
}[];
|
|
87
90
|
})[];
|
|
88
91
|
};
|
|
92
|
+
defaultNextStep?: undefined;
|
|
89
93
|
conditions?: undefined;
|
|
90
94
|
} | {
|
|
91
95
|
id: string;
|
|
@@ -100,6 +104,7 @@ export declare const dtData: {
|
|
|
100
104
|
};
|
|
101
105
|
};
|
|
102
106
|
question: null;
|
|
107
|
+
defaultNextStep?: undefined;
|
|
103
108
|
conditions?: undefined;
|
|
104
109
|
content?: undefined;
|
|
105
110
|
} | {
|
|
@@ -136,6 +141,7 @@ export declare const dtData: {
|
|
|
136
141
|
})[];
|
|
137
142
|
id?: undefined;
|
|
138
143
|
};
|
|
144
|
+
defaultNextStep?: undefined;
|
|
139
145
|
conditions?: undefined;
|
|
140
146
|
} | {
|
|
141
147
|
id: string;
|
|
@@ -166,6 +172,7 @@ export declare const dtData: {
|
|
|
166
172
|
nextStep: null;
|
|
167
173
|
})[];
|
|
168
174
|
};
|
|
175
|
+
defaultNextStep?: undefined;
|
|
169
176
|
conditions?: undefined;
|
|
170
177
|
} | {
|
|
171
178
|
id: string;
|
|
@@ -181,6 +188,7 @@ export declare const dtData: {
|
|
|
181
188
|
};
|
|
182
189
|
};
|
|
183
190
|
question: null;
|
|
191
|
+
defaultNextStep?: undefined;
|
|
184
192
|
conditions?: undefined;
|
|
185
193
|
})[];
|
|
186
194
|
};
|