@buerokratt-ria/common-gui-components 0.0.38 → 0.0.39
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
CHANGED
|
@@ -4,6 +4,12 @@ All changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## Template [MajorVersion.MediterraneanVersion.MinorVersion] - DD-MM-YYYY
|
|
6
6
|
|
|
7
|
+
## [0.0.39] - 26.01.2026
|
|
8
|
+
|
|
9
|
+
- Changed initial end date to be the same as the start date
|
|
10
|
+
- Changed empty advisor name to default to 'Bürokratt' instead of '-'
|
|
11
|
+
- Fixed CSA messages display
|
|
12
|
+
|
|
7
13
|
## [0.0.38] - 20.01.2026
|
|
8
14
|
|
|
9
15
|
- Added isFiveRatingScale Handle
|
package/package.json
CHANGED
|
@@ -131,18 +131,14 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
|
|
|
131
131
|
return new Date(dateString.split("+")[0]);
|
|
132
132
|
};
|
|
133
133
|
|
|
134
|
-
const {control, setValue, watch} = useForm<{
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
const { control, setValue, watch } = useForm<{
|
|
135
|
+
startDate: Date | string;
|
|
136
|
+
endDate: Date | string;
|
|
137
137
|
}>({
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
endDate: passedEndDate
|
|
143
|
-
? parseDateParam(passedEndDate)
|
|
144
|
-
: new Date(new Date().setUTCHours(23, 59, 59, 999)),
|
|
145
|
-
},
|
|
138
|
+
defaultValues: {
|
|
139
|
+
startDate: passedStartDate ? parseDateParam(passedStartDate) : startOfDay(new Date()),
|
|
140
|
+
endDate: passedEndDate ? parseDateParam(passedEndDate) : endOfDay(new Date()),
|
|
141
|
+
},
|
|
146
142
|
});
|
|
147
143
|
|
|
148
144
|
const startDate = watch('startDate');
|
|
@@ -670,7 +666,7 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
|
|
|
670
666
|
|
|
671
667
|
return filteredNames.join(", ");
|
|
672
668
|
} else {
|
|
673
|
-
return
|
|
669
|
+
return "Bürokratt";
|
|
674
670
|
}
|
|
675
671
|
},
|
|
676
672
|
{
|
|
@@ -146,17 +146,19 @@
|
|
|
146
146
|
#{$self} {
|
|
147
147
|
&__group-header {
|
|
148
148
|
display: flex;
|
|
149
|
-
justify-content: flex-
|
|
149
|
+
justify-content: flex-start;
|
|
150
150
|
align-items: center;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
&__group-initials
|
|
153
|
+
&__group-initials,
|
|
154
|
+
&__group-event-initials {
|
|
154
155
|
background-color: get-color(black-coral-10);
|
|
155
156
|
color: get-color(white);
|
|
156
157
|
position: relative;
|
|
157
158
|
}
|
|
158
159
|
|
|
159
|
-
&__group-name
|
|
160
|
+
&__group-name,
|
|
161
|
+
&__group-event-name {
|
|
160
162
|
text-align: left;
|
|
161
163
|
margin-left: 0;
|
|
162
164
|
font-size: $veera-font-size-100;
|
|
@@ -167,7 +169,7 @@
|
|
|
167
169
|
display: flex;
|
|
168
170
|
flex-direction: column;
|
|
169
171
|
gap: 4px;
|
|
170
|
-
align-items: flex-
|
|
172
|
+
align-items: flex-start;
|
|
171
173
|
padding-left: 50px;
|
|
172
174
|
}
|
|
173
175
|
|