@eturnity/eturnity_reusable_components 1.2.20-3d-master.0 → 1.2.20-3d-master.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": "1.2.20-3d-master.0",
3
+ "version": "1.2.20-3d-master.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -1,13 +1,9 @@
1
1
  <svg fill="none" height="16" viewbox="12 12 16 16" width="16" xmlns="http://www.w3.org/2000/svg">
2
- <mask height="14" id="mask0_6458_86453" maskunits="userSpaceOnUse" style="mask-type:alpha" width="14" x="13" y="13">
3
- <rect fill="#FF5656" height="14" width="14" x="13" y="13"></rect>
4
- </mask>
5
- <g mask="url(#mask0_6458_86453)">
6
- <rect fill="#FF5656" height="1.55556" transform="rotate(-45 6.77783 21.6267)" width="21" x="6.77783" y="21.6267"></rect>
7
- <rect fill="#FF5656" height="1.55556" transform="rotate(-45 8.97803 23.8269)" width="21" x="8.97803" y="23.8269"></rect>
8
- <rect fill="#FF5656" height="1.55556" transform="rotate(-45 11.1777 26.0269)" width="21" x="11.1777" y="26.0269"></rect>
9
- <rect fill="#FF5656" height="1.55556" transform="rotate(-45 13.3774 28.2266)" width="21" x="13.3774" y="28.2266"></rect>
10
- <rect fill="#FF5656" height="1.55556" transform="rotate(-45 15.5771 30.4265)" width="21" x="15.5771" y="30.4265"></rect>
11
- <rect fill="#FF5656" height="1.55556" transform="rotate(-45 17.7773 32.6262)" width="21" x="17.7773" y="32.6262"></rect>
2
+ <defs>
3
+ <pattern id="pattern_Z6wSY" patternUnits="userSpaceOnUse" width="4" height="4" patternTransform="rotate(45)">
4
+ <path d="M0 0 L 0 16Z" stroke="red" stroke-width="3"></path>
5
+ </pattern>
6
+ </defs>
7
+ <rect width="32" height="32" fill="url(#pattern_Z6wSY)" :opacity="1" />
12
8
  </g>
13
9
  </svg>
@@ -34,12 +34,14 @@ const IconImage = styled('div', IconImageProps)`
34
34
  width: 100%;
35
35
  height: 100%;
36
36
  }
37
- svg > path {
37
+ svg path {
38
38
  ${(props) =>
39
- props.color && `fill: ${props.theme.colors[props.color] || props.color};`}
39
+ props.color && `fill: ${props.theme.colors[props.color] || props.color};
40
+ stroke: ${props.theme.colors[props.color] || props.color};`}
40
41
  }
41
- &:hover > svg > path {
42
- ${(props) => props.hoveredColor && `fill: ${props.hoveredColor};`}
42
+ &:hover > svg path {
43
+ ${(props) => props.hoveredColor && `fill: ${props.hoveredColor};
44
+ stroke: ${props.theme.colors[props.color] || props.color};`}
43
45
  }
44
46
  `
45
47
 
@@ -94,6 +94,7 @@ export const numberToString = ({ value, numberPrecision }) => {
94
94
  ? 'fr-fr'
95
95
  : localStorage.getItem('lang')
96
96
  : 'en-US'
97
+ if(selectedLang=="null"){selectedLang='en-US'}
97
98
  value=parseFloat(value)
98
99
  return value.toLocaleString(selectedLang, {
99
100
  minimumFractionDigits: numberPrecision,