@eturnity/eturnity_reusable_components 6.50.1-EPDM-8599.1 → 6.50.1-EPDM-8599.2

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": "@eturnity/eturnity_reusable_components",
3
- "version": "6.50.1-EPDM-8599.1",
3
+ "version": "6.50.1-EPDM-8599.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -1,5 +1,14 @@
1
1
  <template>
2
- <title-text :color="color" :fontSize="fontSize" :uppercase="uppercase">{{ text }}</title-text>
2
+ <flex>
3
+ <title-text :color="color" :fontSize="fontSize" :uppercase="uppercase">{{ text }}</title-text>
4
+ <info-text
5
+ v-if="infoText"
6
+ :text="infoText"
7
+ borderColor="#ccc"
8
+ size="14px"
9
+ :alignArrow="infoAlign"
10
+ />
11
+ </flex>
3
12
  </template>
4
13
 
5
14
  <script>
@@ -10,20 +19,28 @@
10
19
  // color="red"
11
20
  // />
12
21
  import styled from "vue-styled-components"
13
-
22
+ import InfoText from '../infoText'
14
23
  const textAttrs = { color: String, fontSize: String, uppercase: Boolean }
15
24
  const TitleText = styled("div", textAttrs)`
16
25
  color: ${(props) => (props.color ? props.color : props.theme.colors.black)};
17
26
  font-weight: bold;
18
27
  font-size: ${(props) => (props.fontSize ? props.fontSize : '16px')};
19
28
  text-transform: ${(props) => (props.uppercase ? 'uppercase' : 'none')};
29
+
30
+ `
31
+ const flex = styled("div", textAttrs)`
32
+ display: flex;
33
+ gap:10px;
20
34
  margin-bottom: 20px;
35
+ align-items: center;
21
36
  `
22
37
 
23
38
  export default {
24
39
  name: "page-title",
25
40
  components: {
26
41
  TitleText,
42
+ InfoText,
43
+ flex
27
44
  },
28
45
  props: {
29
46
  text: {
@@ -39,7 +56,13 @@ export default {
39
56
  uppercase: {
40
57
  required: false,
41
58
  default: true
42
- }
59
+ },
60
+ infoText: {
61
+ required: false,
62
+ },
63
+ infoAlign: {
64
+ required: false,
65
+ },
43
66
  },
44
67
  }
45
68
  </script>