@eturnity/eturnity_reusable_components 6.32.0 → 6.33.1-3d-qa-6.37.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": "6.32.0",
3
+ "version": "6.33.1-3d-qa-6.37.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -1,12 +1,12 @@
1
1
  <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="2.98828" y="6" width="3" height="1.6" transform="rotate(90 2.98828 6)" fill="white"/>
3
- <path d="M2.21317 10.8279L4.35603 8.32892H0.0703125L2.21317 10.8279Z" fill="white"/>
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M2.18945 6C2.74174 6 3.18945 5.55228 3.18945 5C3.18945 4.44772 2.74174 4 2.18945 4C1.63717 4 1.18945 4.44772 1.18945 5C1.18945 5.55228 1.63717 6 2.18945 6ZM2.18945 7C3.29402 7 4.18945 6.10457 4.18945 5C4.18945 3.89543 3.29402 3 2.18945 3C1.08488 3 0.189453 3.89543 0.189453 5C0.189453 6.10457 1.08488 7 2.18945 7Z" fill="white"/>
5
- <rect x="7.77344" y="3" width="6" height="1.6" transform="rotate(90 7.77344 3)" fill="white"/>
6
- <path d="M6.99833 10.8279L9.14118 8.32892H4.85547L6.99833 10.8279Z" fill="white"/>
7
- <path fill-rule="evenodd" clip-rule="evenodd" d="M6.97461 3C7.52689 3 7.97461 2.55228 7.97461 2C7.97461 1.44772 7.52689 1 6.97461 1C6.42232 1 5.97461 1.44772 5.97461 2C5.97461 2.55228 6.42232 3 6.97461 3ZM6.97461 4C8.07918 4 8.97461 3.10457 8.97461 2C8.97461 0.895431 8.07918 0 6.97461 0C5.87004 0 4.97461 0.895431 4.97461 2C4.97461 3.10457 5.87004 4 6.97461 4Z" fill="white"/>
8
- <rect x="12.5605" y="5" width="4" height="1.6" transform="rotate(90 12.5605 5)" fill="white"/>
9
- <path d="M11.7854 10.8279L13.9283 8.32892H9.64258L11.7854 10.8279Z" fill="white"/>
10
- <path fill-rule="evenodd" clip-rule="evenodd" d="M11.7617 5C12.314 5 12.7617 4.55228 12.7617 4C12.7617 3.44772 12.314 3 11.7617 3C11.2094 3 10.7617 3.44772 10.7617 4C10.7617 4.55228 11.2094 5 11.7617 5ZM11.7617 6C12.8663 6 13.7617 5.10457 13.7617 4C13.7617 2.89543 12.8663 2 11.7617 2C10.6571 2 9.76172 2.89543 9.76172 4C9.76172 5.10457 10.6571 6 11.7617 6Z" fill="white"/>
11
- <rect x="14" y="14" width="14" height="1.6" transform="rotate(-180 14 14)" fill="white"/>
12
- </svg>
2
+ <path transform="rotate(90 2.98828 6)" fill="white" d="M2.9883 6h3v1.6H2.9883Z" />
3
+ <path d="M2.21317 10.8279L4.35603 8.32892H0.0703125L2.21317 10.8279Z" fill="white" />
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.18945 6C2.74174 6 3.18945 5.55228 3.18945 5C3.18945 4.44772 2.74174 4 2.18945 4C1.63717 4 1.18945 4.44772 1.18945 5C1.18945 5.55228 1.63717 6 2.18945 6ZM2.18945 7C3.29402 7 4.18945 6.10457 4.18945 5C4.18945 3.89543 3.29402 3 2.18945 3C1.08488 3 0.189453 3.89543 0.189453 5C0.189453 6.10457 1.08488 7 2.18945 7Z" fill="white" />
5
+ <path transform="rotate(90 7.77344 3)" fill="white" d="M7.7734 3h6v1.6H7.7734Z" />
6
+ <path d="M6.99833 10.8279L9.14118 8.32892H4.85547L6.99833 10.8279Z" fill="white" />
7
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M6.97461 3C7.52689 3 7.97461 2.55228 7.97461 2C7.97461 1.44772 7.52689 1 6.97461 1C6.42232 1 5.97461 1.44772 5.97461 2C5.97461 2.55228 6.42232 3 6.97461 3ZM6.97461 4C8.07918 4 8.97461 3.10457 8.97461 2C8.97461 0.895431 8.07918 0 6.97461 0C5.87004 0 4.97461 0.895431 4.97461 2C4.97461 3.10457 5.87004 4 6.97461 4Z" fill="white" />
8
+ <path transform="rotate(90 12.5605 5)" fill="white" d="M12.5605 5h4v1.6H12.5605Z" />
9
+ <path d="M11.7854 10.8279L13.9283 8.32892H9.64258L11.7854 10.8279Z" fill="white" />
10
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11.7617 5C12.314 5 12.7617 4.55228 12.7617 4C12.7617 3.44772 12.314 3 11.7617 3C11.2094 3 10.7617 3.44772 10.7617 4C10.7617 4.55228 11.2094 5 11.7617 5ZM11.7617 6C12.8663 6 13.7617 5.10457 13.7617 4C13.7617 2.89543 12.8663 2 11.7617 2C10.6571 2 9.76172 2.89543 9.76172 4C9.76172 5.10457 10.6571 6 11.7617 6Z" fill="white" />
11
+ <path transform="rotate(-180 14 14)" fill="white" d="M14 14h14v1.6H14Z" />
12
+ </svg>
@@ -432,6 +432,10 @@ export default {
432
432
  labelFontColor: {
433
433
  required: false,
434
434
  default: 'eturnityGrey'
435
+ },
436
+ focus:{
437
+ required: false,
438
+ default: false
435
439
  }
436
440
  },
437
441
  computed: {
@@ -544,7 +548,7 @@ export default {
544
548
  }
545
549
  this.isFocused = true
546
550
  this.$nextTick(() => {
547
- this.$refs.inputField1.$el.select()
551
+ this.$refs.inputField1.$el.focus()
548
552
  })
549
553
  this.$emit('input-focus')
550
554
  },
@@ -630,7 +634,17 @@ export default {
630
634
  })
631
635
  }
632
636
  },
637
+ mounted(){
638
+ if(this.focus){
639
+ this.focusInput()
640
+ }
641
+ },
633
642
  watch: {
643
+ focus(value){
644
+ if(value){
645
+ this.focusInput()
646
+ }
647
+ },
634
648
  clearInput: function (value) {
635
649
  if (value) {
636
650
  // If the value is typed, then we should clear the textInput on Continue
@@ -76,7 +76,9 @@
76
76
  import styled from 'vue-styled-components'
77
77
  import InfoText from '../../infoText'
78
78
  import theme from '../../../assets/theme'
79
- const Container = styled.div``
79
+ const Container = styled.div`
80
+ width:100%
81
+ `
80
82
 
81
83
  const flexAttrs = {
82
84
  label: String,
@@ -92,6 +94,7 @@ const FlexWrapper = styled('div', flexAttrs)`
92
94
  cursor: ${(props) => (props.disabled ? 'not-allowed' : 'pointer')};
93
95
  grid-template-columns: ${(props) =>
94
96
  props.alignItems === 'vertical' || !props.label ? '1fr' : 'auto 1fr'};
97
+ width:100%;
95
98
  `
96
99
 
97
100
  const toggleAttrs = {
@@ -117,6 +120,7 @@ const SwitchWrapper = styled('span', toggleAttrs)`
117
120
  : props.size === 'small'
118
121
  ? '16px'
119
122
  : '24px'};
123
+ width:100%;
120
124
  `
121
125
  const optionAttrs = {
122
126
  isActive: Boolean,
@@ -139,9 +143,10 @@ const switchOption = styled('div', optionAttrs)`
139
143
  line-height: 1;
140
144
  text-align: center;
141
145
  padding: 10px;
142
- margin-right: -1px;
146
+ margin-right: 0;
143
147
  transition: all 0.1s ease-in-out;
144
148
  overflow: hidden;
149
+ width:100%;
145
150
  & :hover {
146
151
  cursor: pointer;
147
152
  }