@eturnity/eturnity_reusable_components 8.13.13-EPDM-12618.4 → 8.13.13-SLD.0

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.13-EPDM-12618.4",
3
+ "version": "8.13.13-SLD.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="30" height="30" viewbox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m274.68 139.53c-5.76-2.85-12.66-0.39-15.54 5.4-0.18 0.3-17.04 34.5-43.02 36.9-21.93 2.19-42.9-19.95-56.82-38.82-25.38-34.35-51.66-50.4-77.73-48.09-39.15 3.75-60.84 48.12-61.8 50.04-2.76 5.82-0.27 12.72 5.4 15.51 5.85 2.79 12.84 0.45 15.66-5.37 0.12-0.39 17.07-34.53 43.05-36.93 21.72-2.1 42.9 19.98 56.73 38.76 23.73 32.1 48.15 48.33 72.48 48.33 1.86 0 3.54-0.06 5.34-0.27 39.09-3.63 60.81-48.09 61.68-49.95 2.88-5.82 0.39-12.75-5.43-15.51z"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="none" height="20" viewbox="0 0 100 20" width="100" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M100,9 L4,9 L9,5 L6,5 L0,10 L6,15 L9,15 L4,11 L100,11 Z" fill="#ff0000"></path>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="none" height="20" viewbox="0 0 100 20" width="100" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0,9 L96,9 L91,5 L94,5 L100,10 L94,15 L91,15 L96,11 L0,11 Z" fill="#ff0000"></path>
3
+ </svg>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+ <svg
4
+ xmlns:svg="http://www.w3.org/2000/svg"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ version="1.0"
7
+ width="40"
8
+ height="37.5"
9
+ id="svg2">
10
+ <defs
11
+ id="defs4" />
12
+ <g
13
+ id="layer1">
14
+ <path
15
+ d="M 22.5,23 L 22.5,3"
16
+ style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
17
+ id="path4104" />
18
+ <path
19
+ d="M 22.93334,23.5 L 15.000009,31.5"
20
+ style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000012px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
21
+ id="path4112" />
22
+ <path
23
+ d="M 3,31.5 L 11,23.5 L 35,23.5 L 27,31.5"
24
+ style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
25
+ id="path4116" />
26
+ </g>
27
+ </svg>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 250 100">
4
+ <rect width="200" height="16" x="25" y="20" />
5
+ <rect width="40" height="16" x="25" y="52" />
6
+ <rect width="40" height="16" x="105" y="52" />
7
+ <rect width="40" height="16" x="185" y="52" />
8
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg fill="none" height="30" viewbox="0 0 100 30" width="100" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M100,19 L4,19 L9,15 L6,15 L0,20 L6,25 L9,25 L4,21 L100,21 Z" fill="#ff0000"></path>
3
+ <path d="M0,9 L96,9 L91,5 L94,5 L100,10 L94,15 L91,15 L96,11 L0,11 Z" fill="#ff0000"></path>
4
+ </svg>
@@ -0,0 +1,28 @@
1
+ <svg
2
+ width="50"
3
+ height="50"
4
+ viewBox="0 0 25 50"
5
+ fill='white'
6
+ >
7
+ <defs
8
+ id="defs4" />
9
+ <g
10
+ id="layer1">
11
+ <path
12
+ d="M 0.5,24.5 L 24.5,24.5"
13
+ style="fill:lime;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
14
+ id="path4098" />
15
+ <path
16
+ d="M 4.5,27.5 L 20.5,27.5"
17
+ style="fill:lime;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
18
+ id="path4100" />
19
+ <path
20
+ d="M 16.5,30.5 L 8.5,30.5"
21
+ style="fill:lime;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
22
+ id="path4102" />
23
+ <path
24
+ d="M 12.5,24.5 L 12.5,4.5"
25
+ style="fill:lime;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
26
+ id="path4104" />
27
+ </g>
28
+ </svg>
@@ -3,7 +3,8 @@
3
3
  :cursor="cursor"
4
4
  data-test-id="icon_wrapper"
5
5
  :disabled="disabled"
6
- :size="size"
6
+ :height="height ? height : size"
7
+ :width="width ? width : size"
7
8
  >
8
9
  <IconImage
9
10
  :animation="animation"
@@ -67,6 +68,16 @@
67
68
  default: '30px',
68
69
  type: String,
69
70
  },
71
+ width: {
72
+ type: String,
73
+ required: false,
74
+ default: '',
75
+ },
76
+ height: {
77
+ type: String,
78
+ required: false,
79
+ default: '',
80
+ },
70
81
  cursor: {
71
82
  required: false,
72
83
  default: null,
@@ -100,7 +111,8 @@
100
111
  })
101
112
 
102
113
  const Wrapper = styled('div', {
103
- size: String,
114
+ height: String,
115
+ width: String,
104
116
  disabled: Boolean,
105
117
  cursor: String,
106
118
  })`
@@ -108,10 +120,10 @@
108
120
  position: relative;
109
121
  align-content: center;
110
122
  justify-content: center;
111
- width: ${(props) => props.size};
112
- height: ${(props) => props.size};
113
- min-width: ${(props) => props.size};
114
- min-height: ${(props) => props.size};
123
+ width: ${(props) => props.width};
124
+ height: ${(props) => props.height};
125
+ min-width: ${(props) => props.width};
126
+ min-height: ${(props) => props.height};
115
127
  cursor: ${(props) => (props.disabled ? 'not-allowed' : props.cursor)};
116
128
  line-height: 0;
117
129
  `
@@ -169,7 +169,9 @@
169
169
  position: relative;
170
170
  font-size: ${(props) => (props.fontSize ? props.fontSize : '16px')};
171
171
  color: ${(props) =>
172
- props.isDisabled
172
+ props.isError
173
+ ? props.theme.colors.grey6
174
+ : props.isDisabled
173
175
  ? props.theme.colors.grey2
174
176
  : props.fontColor
175
177
  ? props.fontColor + ' !important'
@@ -78,13 +78,10 @@
78
78
  v-else
79
79
  class="inputField"
80
80
  :disabled="customInputDisabled"
81
- :error-message="item.errorMessage"
82
81
  :font-color="showArchived ? theme.colors.red : 'black'"
83
- :is-error="item.isError"
84
82
  :min-width="item.value.length + 'ch'"
85
83
  :no-border="true"
86
84
  :value="item.value"
87
- @input-blur="onCustomInputChange($event.trim())"
88
85
  @input-change="onCustomInputChange($event)"
89
86
  />
90
87
  </InputContainer>
@@ -165,7 +162,7 @@
165
162
  </OptionsItem>
166
163
  </OptionsWrapper>
167
164
  <CustomContainer
168
- v-if="getCustomName.length && allowFreeInputs"
165
+ v-if="inputText.length && allowFreeInputs"
169
166
  @click="onCustomNameClick()"
170
167
  >
171
168
  <CustomName>{{ getCustomName }}</CustomName>
@@ -229,6 +226,7 @@
229
226
  const ItemAttrs = { isNested: Boolean, showArchived: Boolean }
230
227
  const ComponentItem = styled('td', ItemAttrs)`
231
228
  padding-left: ${(props) => (props.isNested ? '14px !important' : '0')};
229
+ overflow: hidden;
232
230
  text-overflow: ellipsis;
233
231
  padding-right: 0 !important;
234
232
  color: ${(props) =>
@@ -560,7 +558,7 @@
560
558
  },
561
559
  computed: {
562
560
  getCustomName() {
563
- return this.inputText.trim()
561
+ return this.inputText
564
562
  },
565
563
  theme() {
566
564
  return theme
@@ -654,7 +652,7 @@
654
652
  },
655
653
  onCustomNameClick() {
656
654
  this.wasClicked = true
657
- this.$emit('on-custom-input-name', this.getCustomName)
655
+ this.$emit('on-custom-input-name', this.inputText)
658
656
  this.$emit('toggle-dropdown-open', { close: true })
659
657
  this.inputText = ''
660
658
  },