@eturnity/eturnity_reusable_components 8.13.11 → 8.13.12--EPDM-14330.1

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": "8.13.11",
3
+ "version": "8.13.12--EPDM-14330.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -1,4 +1,4 @@
1
- <svg fill="none" height="42" viewbox="-1 -1 42 42" width="42" xmlns="http://www.w3.org/2000/svg">
2
- <rect fill="white" height="40" rx="4" width="40"></rect>
3
- <path clip-rule="evenodd" d="M27 17.9975H22.6923V13H17.3077V17.9975H13L20 23.2339L27 17.9975ZM13 24.994L13.0075 27H26.9925L27 24.994H13Z" fill="#505CA6" fill-rule="evenodd"></path>
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11 6.5L7 10.5L3 6.5" fill="white"/>
3
+ <path d="M13 13H1M11 6.5L7 10.5M7 10.5L3 6.5M7 10.5V1" stroke="#6F20DC" stroke-linecap="round" stroke-linejoin="round"/>
4
4
  </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3 2C2.44772 2 2 2.44772 2 3V9C2 9.55229 2.44772 10 3 10H3.5C4.05228 10 4.5 9.55229 4.5 9V3C4.5 2.44772 4.05228 2 3.5 2H3Z" fill="#6F20DC"/>
3
+ <path d="M5.75 3C5.75 2.44772 6.19772 2 6.75 2H7.25C7.80228 2 8.25 2.44772 8.25 3V5C8.25 5.55228 7.80228 6 7.25 6H6.75C6.19772 6 5.75 5.55228 5.75 5V3Z" fill="#6F20DC"/>
4
+ <path d="M10.5 2C9.94771 2 9.5 2.44772 9.5 3V11C9.5 11.5523 9.94771 12 10.5 12H11C11.5523 12 12 11.5523 12 11V3C12 2.44772 11.5523 2 11 2H10.5Z" fill="#6F20DC"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2C0 0.89543 0.895431 0 2 0H12C13.1046 0 14 0.895431 14 2V12C14 13.1046 13.1046 14 12 14H2C0.89543 14 0 13.1046 0 12V2ZM2 1H12C12.5523 1 13 1.44772 13 2V12C13 12.5523 12.5523 13 12 13H2C1.44772 13 1 12.5523 1 12V2C1 1.44772 1.44772 1 2 1Z" fill="#6F20DC"/>
6
+ </svg>
@@ -1,4 +1,4 @@
1
- <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M22 10V12L0 12L1.19209e-07 10L22 10Z" fill="white"/>
3
- <path d="M10 0H12V22H10V0Z" fill="white"/>
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6 1C6 0.447716 6.44772 0 7 0C7.55228 0 8 0.447715 8 1V13C8 13.5523 7.55228 14 7 14C6.44772 14 6 13.5523 6 13V1Z" fill="white"/>
3
+ <path d="M13 6C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H1C0.447716 8 1.95702e-08 7.55228 4.37113e-08 7C6.78524e-08 6.44772 0.447715 6 1 6L13 6Z" fill="white"/>
4
4
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2V12C0 13.1046 0.89543 14 2 14H12C13.1046 14 14 13.1046 14 12V2C14 0.895431 13.1046 0 12 0H2C0.895431 0 0 0.89543 0 2ZM7.5 3.5H13V6H7.5V3.5ZM6.5 3.5H1V6H6.5V3.5ZM1 7V9.5H6.5V7H1ZM1 10.5V12C1 12.5523 1.44772 13 2 13H6.5V10.5H1ZM7.5 13H12C12.5523 13 13 12.5523 13 12V10.5H7.5V13ZM13 9.5V7H7.5V9.5H13Z" fill="#263238"/>
3
+ </svg>
@@ -21,6 +21,7 @@
21
21
  iconColor ||
22
22
  theme.mainButton[appTheme][type][variant].default.textColor
23
23
  "
24
+ :fill-type="fillType"
24
25
  :hovered-color="
25
26
  iconColor ||
26
27
  theme.mainButton[appTheme][type][variant].default.textColor
@@ -231,6 +232,11 @@
231
232
  default: false,
232
233
  type: Boolean,
233
234
  },
235
+ fillType: {
236
+ required: false,
237
+ default: 'fill',
238
+ type: String,
239
+ },
234
240
  },
235
241
  data() {
236
242
  return {
@@ -36,8 +36,9 @@
36
36
  />
37
37
  </ListItemTitle>
38
38
  <Icon
39
- color="white"
39
+ :color="theme.colors.white"
40
40
  :cursor="item.disabled ? 'not-allowed' : 'pointer'"
41
+ :hovered-color="theme.colors.white"
41
42
  name="arrow_right"
42
43
  size="20px"
43
44
  />
@@ -86,7 +87,13 @@
86
87
  </EmptyText>
87
88
  <CloseContainer>
88
89
  <IconContainer @click="$emit('on-close')">
89
- <Icon color="white" cursor="pointer" name="close" size="14px" />
90
+ <Icon
91
+ :color="theme.colors.white"
92
+ cursor="pointer"
93
+ :hovered-color="theme.colors.white"
94
+ name="close"
95
+ size="14px"
96
+ />
90
97
  </IconContainer>
91
98
  </CloseContainer>
92
99
  </BoxContainer>
@@ -131,6 +138,7 @@
131
138
  import styled from 'vue3-styled-components'
132
139
  import InfoText from '../infoText'
133
140
  import Icon from '../icon'
141
+ import theme from '../../assets/theme'
134
142
 
135
143
  const PageWrapper = styled.div`
136
144
  font-size: 13px;
@@ -397,6 +405,9 @@
397
405
  }
398
406
  },
399
407
  computed: {
408
+ theme() {
409
+ return theme
410
+ },
400
411
  hasComponent() {
401
412
  return this.optionsList.some((item) => item.component)
402
413
  },
@@ -43,8 +43,8 @@
43
43
  align-items: center;
44
44
  justify-items: center;
45
45
  position: ${(props) => (props.limitedToModal ? 'absolute' : 'inherit')};
46
- height: ${(props) => (props.limitedToModal ? '100%' : 'auto')};
47
- width: ${(props) => (props.limitedToModal ? '100%' : 'auto')};
46
+ height: 100%;
47
+ width: 100%;
48
48
  `
49
49
 
50
50
  const wrapperAttrs = { size: String }
@@ -7,6 +7,21 @@
7
7
  :is-active="activeTab === item.id"
8
8
  @click="onTabClick({ id: item.id })"
9
9
  >
10
+ <RCIcon
11
+ v-if="item.icon"
12
+ :color="
13
+ activeTab === item.id
14
+ ? theme.semanticColors.purple[500]
15
+ : theme.semanticColors.teal[800]
16
+ "
17
+ :hovered-color="
18
+ activeTab === item.id
19
+ ? theme.semanticColors.purple[500]
20
+ : theme.semanticColors.teal[800]
21
+ "
22
+ :name="item.icon"
23
+ size="14px"
24
+ />
10
25
  <div>{{ item.text }}</div>
11
26
  <RCIcon v-if="item.hasError" name="warning" size="14px" />
12
27
  </TabItem>
@@ -34,6 +49,7 @@
34
49
  // />
35
50
  import styled from 'vue3-styled-components'
36
51
  import RCIcon from '../icon'
52
+ import theme from '@/assets/theme'
37
53
 
38
54
  const PageContainer = styled.div``
39
55
 
@@ -51,17 +67,16 @@
51
67
  gap: 8px;
52
68
  padding: 10px 20px;
53
69
  font-size: 14px;
54
- font-weight: 600;
55
- background-color: ${(props) =>
56
- props.isActive ? props.theme.colors.secondary : props.theme.colors.white};
70
+ font-weight: ${(props) => (props.isActive ? '500' : '400')};
71
+ background-color: ${(props) => props.theme.colors.white};
57
72
  color: ${(props) =>
58
73
  props.isActive
59
- ? props.theme.colors.brightBlue
60
- : props.theme.colors.black};
74
+ ? props.theme.semanticColors.purple[500]
75
+ : props.theme.semanticColors.teal[800]};
61
76
  border-bottom: ${(props) =>
62
77
  props.isActive
63
- ? '4px solid' + props.theme.colors.brightBlue
64
- : '1px solid' + props.theme.colors.grey4};
78
+ ? '1px solid' + props.theme.semanticColors.purple[400]
79
+ : '1px solid' + props.theme.semanticColors.purple[100]};
65
80
  flex-grow: 1;
66
81
  `
67
82
 
@@ -80,9 +95,14 @@
80
95
  },
81
96
  activeTab: {
82
97
  required: true,
83
- type: Number,
98
+ type: [Number, String],
84
99
  },
85
100
  },
101
+ data() {
102
+ return {
103
+ theme,
104
+ }
105
+ },
86
106
  methods: {
87
107
  onTabClick({ id }) {
88
108
  if (id === this.activeTab) {