@eturnity/eturnity_reusable_components 1.2.48-EPDM-5846.1 → 1.2.49

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": "1.2.48-EPDM-5846.1",
3
+ "version": "1.2.49",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><path d="M0 24.006v24.006l18.125-.131 18.125-.131.141-5.608.141-5.607 5.109-.143 5.109-.142.131-18.125L47.012 0H0v24.006m67.619-5.881.131 18.125h68l.131-18.125L136.012 0H67.488l.131 18.125m89 0 .131 18.125 33.875.128 33.875.129V0h-68.012l.131 18.125m89 0 .131 18.125 8.875.137 8.875.136V49.5H300V0h-54.512l.131 18.125M69 146.5V229h160V64H69v82.5M0 102.506v34.006l18.125-.131 18.125-.131.128-33.875.129-33.875H0v34.006m263.5 1.744V138H300V70.5h-36.5v33.75m-67.5 42.5v49.75h-94V97h94v49.75M0 191.006v34.006l18.125-.131 18.125-.131.128-33.875.129-33.875H0v34.006m263.5 1.744v33.75H300V159h-36.5v33.75M0 272.75V300h49.5v-36.5h-13v-18H0v27.25m263.5-17.25v8h-15V300H300v-52.5h-36.5v8m-193 26.25V300h68v-36.5h-68v18.25m89 0V300h68v-36.5h-68v18.25" fill-rule="evenodd"/></svg>
@@ -49,7 +49,7 @@ const containerAttrs = {
49
49
  }
50
50
  const Container = styled('label', containerAttrs)`
51
51
  display: grid;
52
- grid-template-columns: ${(props) => (props.hasLabel ? '16px auto' : '16px')};
52
+ grid-template-columns: ${(props) => (props.hasLabel ? '18px auto' : '18px')};
53
53
  grid-gap: 16px;
54
54
  align-content: center;
55
55
  color: ${(props) => props.theme.colors.black};
@@ -140,9 +140,9 @@ const InputContainer = styled('input', inputProps)`
140
140
  box-sizing: border-box; // to allow width of 100% with padding
141
141
  font-weight: 400;
142
142
  cursor: ${(props) => (props.isDisabled ? 'not-allowed' : 'auto')};
143
- background-color: ${(props) =>
144
- props.isDisabled ? props.theme.colors.grey5 :
143
+ background-color: ${(props) =>
145
144
  props.backgroundColor ? props.backgroundColor+' !important' :
145
+ props.isDisabled ? props.theme.colors.grey5 :
146
146
  props.theme.colors.white};
147
147
  &::placeholder {
148
148
  color: ${(props) => props.theme.colors.grey2};
@@ -189,9 +189,7 @@ const TableContainer = styled('table', containerAttrs)`
189
189
  }
190
190
 
191
191
  &.checkbox-header {
192
- min-width: 40px;
193
- display: flex;
194
- gap: 10px;
192
+ width: 40px;
195
193
  }
196
194
  }
197
195
 
@@ -14,7 +14,6 @@ export const stringToNumber = ({
14
14
  selectedLang === 'de-DE' ||
15
15
  selectedLang === 'de-de' ||
16
16
  selectedLang === 'no-no' ||
17
- selectedLang === 'nb-no' ||
18
17
  selectedLang === 'da-dk' ||
19
18
  selectedLang === 'de-lu' ||
20
19
  selectedLang === 'de-be' ||
@@ -95,10 +94,8 @@ export const numberToString = ({ value, numberPrecision }) => {
95
94
  ? 'fr-fr'
96
95
  : localStorage.getItem('lang')
97
96
  : 'en-US'
98
- if (selectedLang == 'null') {
99
- selectedLang = 'en-US'
100
- }
101
- value = parseFloat(value)
97
+ if(selectedLang=="null"){selectedLang='en-US'}
98
+ value=parseFloat(value)
102
99
  return value.toLocaleString(selectedLang, {
103
100
  minimumFractionDigits: numberPrecision,
104
101
  maximumFractionDigits: numberPrecision
@@ -32,7 +32,7 @@ export const translateLang = (lang) => {
32
32
  return 'polish'
33
33
  } else if (lang === 'sv-se') {
34
34
  return 'swedish'
35
- } else if (lang === 'no-no' || lang === 'nb-no') {
35
+ } else if (lang === 'no-no') {
36
36
  return 'norwegian'
37
37
  } else if (lang === 'nl-nl' || lang === 'nl') {
38
38
  return 'nl-nl'