@webitel/ui-chats 0.0.12 → 0.0.13

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-chats",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Reusable Webitel Frontend Code for Chats UI",
5
5
  "workspaces": [
6
6
  "../../",
@@ -25,6 +25,8 @@ const formattedDate = computed<Date>(() => {
25
25
  </script>
26
26
 
27
27
  <style lang="scss" scoped>
28
+ @use '@webitel/styleguide/typography' as *;
29
+
28
30
  .chat-date-divider {
29
31
  @extend %typo-subtitle-1;
30
32
  width: 100%;
@@ -34,6 +34,7 @@ const emit = defineEmits<{
34
34
  </script>
35
35
 
36
36
  <style lang="scss" scoped>
37
+ @use '@webitel/styleguide/typography' as *;
37
38
 
38
39
  .scroll-to-bottom-btn {
39
40
  position: absolute;
@@ -70,6 +70,8 @@ function focusOnInput() {
70
70
  </script>
71
71
 
72
72
  <style scoped lang="scss">
73
+ @use '@webitel/styleguide/scroll' as *;
74
+
73
75
  .the-chat-messages-container {
74
76
  position: relative;
75
77
  display: flex;
@@ -17,7 +17,11 @@ import { useI18n } from "vue-i18n";
17
17
  const { t } = useI18n();
18
18
  </script>
19
19
 
20
+ <script setup lang="ts">
21
+ </script>
20
22
  <style scoped lang="scss">
23
+ @use '@webitel/styleguide/typography' as *;
24
+
21
25
  .chat-message-blocked-error {
22
26
  @extend %typo-body-1;
23
27
  background: var(--p-error-highlight-color);
@@ -34,5 +38,3 @@ const { t } = useI18n();
34
38
  max-width: 132px;
35
39
  }
36
40
  </style>
37
- <script setup lang="ts">
38
- </script>
@@ -49,6 +49,8 @@ function downloadDocument() {
49
49
  </script>
50
50
 
51
51
  <style lang="scss" scoped>
52
+ @use '@webitel/styleguide/typography' as *;
53
+
52
54
  .chat-message-document {
53
55
  display: flex;
54
56
  align-items: flex-start;
@@ -27,6 +27,8 @@ const emit = defineEmits<{
27
27
 
28
28
 
29
29
  <style lang="scss" scoped>
30
+ @use '@webitel/styleguide/typography' as *;
31
+
30
32
  .chat-message-image {
31
33
  cursor: pointer;
32
34
 
@@ -25,6 +25,7 @@ const text = computed(() => {
25
25
  </script>
26
26
 
27
27
  <style lang="scss" scoped>
28
+ @use '@webitel/styleguide/typography' as *;
28
29
 
29
30
  .chat-message-text {
30
31
  @extend %typo-body-1;
@@ -24,6 +24,7 @@ const time = computed(() => prettifyTime(props.date));
24
24
  </script>
25
25
 
26
26
  <style lang="scss" scoped>
27
+ @use '@webitel/styleguide/typography' as *;
27
28
  .chat-message-time {
28
29
  display: flex;
29
30
  flex-direction: column;