bfg-common 1.4.827 → 1.4.828

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.
@@ -1,6 +1,8 @@
1
1
  <template>
2
2
  <common-modals-confirm-by-input-new
3
3
  v-if="isNewViewLocal"
4
+ :title="props.title"
5
+ :sub-title="props.subTitle"
4
6
  :modal-texts="props.modalTexts"
5
7
  :test-id="props.testId"
6
8
  @hide="emits('hide')"
@@ -2,12 +2,18 @@
2
2
  <ui-popup
3
3
  :test-id="props.testId"
4
4
  icon-name="info-status"
5
- :title="props.headline"
6
- :message="props.description"
5
+ :message="props.subTitle"
7
6
  :texts="modalTextsLocal"
8
7
  @submit="onSubmit"
9
8
  @hide="onHide"
10
- ></ui-popup>
9
+ >
10
+ <template #content>
11
+ <div class="ui-popup_body-content">
12
+ <span>{{ props.title }}</span>
13
+ <span>{{ props.subTitle }}</span>
14
+ </div>
15
+ </template>
16
+ </ui-popup>
11
17
  </template>
12
18
 
13
19
  <script setup lang="ts">
@@ -15,8 +21,8 @@ import type { UI_I_ModalTexts } from '~/node_modules/bfg-uikit/components/ui/mod
15
21
 
16
22
  const props = defineProps<{
17
23
  testId: string
18
- headline: string
19
- description: string
24
+ title: string
25
+ subTitle: string
20
26
  modalTexts: UI_I_ModalTexts
21
27
  }>()
22
28
  const emits = defineEmits<{
@@ -34,4 +40,24 @@ const onSubmit = (): void => {
34
40
  }
35
41
  </script>
36
42
 
37
- <style scoped lang="scss"></style>
43
+ <style scoped lang="scss">
44
+ .ui-popup_body-content {
45
+ padding: 16px 32px;
46
+ span {
47
+ display: block;
48
+ font-size: 14px;
49
+ font-weight: 400;
50
+ line-height: 16.94px;
51
+ text-align: center;
52
+ color: #9da6ad;
53
+
54
+ &:first-of-type {
55
+ font-size: 20px;
56
+ font-weight: 500;
57
+ line-height: 24.2px;
58
+ color: var(--modal-title);
59
+ margin-bottom: 8px;
60
+ }
61
+ }
62
+ }
63
+ </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.827",
4
+ "version": "1.4.828",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",