@eturnity/eturnity_reusable_components 7.20.0--EPDM-9013.2 → 7.20.0-EPDM-10528.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 +1 -1
- package/src/assets/svgIcons/house_3d-1.svg +8 -0
- package/src/assets/svgIcons/house_3d.svg +8 -0
- package/src/components/buttons/mainButton/index.vue +7 -1
- package/src/components/iconWrapper/index.vue +9 -2
- package/src/components/inputs/select/index.vue +1 -1
- package/src/assets/svgIcons/bexio.svg +0 -4
- package/src/assets/svgIcons/data_transfer.svg +0 -3
package/package.json
CHANGED
@@ -0,0 +1,8 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
|
2
|
+
<mask id="path-1-inside-1_57915_53334" fill="white">
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.0303 2.75757L0 5.30302V11.2424L3.41022 12.4091V8.96996L4.53143 9.41845V12.7926L8.0606 14V8.0606L4.0303 2.75757Z"/>
|
4
|
+
</mask>
|
5
|
+
<path d="M0 5.30302L-0.694191 4.20389L-1.3 4.5865V5.30302H0ZM4.0303 2.75757L5.06531 1.97096L4.344 1.02187L3.33611 1.65843L4.0303 2.75757ZM0 11.2424H-1.3V12.1716L-0.420794 12.4724L0 11.2424ZM3.41022 12.4091L2.98943 13.6391L4.71022 14.2278V12.4091H3.41022ZM3.41022 8.96996L3.89303 7.76294L2.11022 7.04982V8.96996H3.41022ZM4.53143 9.41845H5.83143V8.5383L5.01424 8.21143L4.53143 9.41845ZM4.53143 12.7926H3.23143V13.7219L4.11064 14.0227L4.53143 12.7926ZM8.0606 14L7.63981 15.23L9.3606 15.8187V14H8.0606ZM8.0606 8.0606H9.3606V7.62266L9.09561 7.27399L8.0606 8.0606ZM0.694191 6.40216L4.72449 3.8567L3.33611 1.65843L-0.694191 4.20389L0.694191 6.40216ZM1.3 11.2424V5.30302H-1.3V11.2424H1.3ZM3.83102 11.1791L0.420794 10.0124L-0.420794 12.4724L2.98943 13.6391L3.83102 11.1791ZM4.71022 12.4091V8.96996H2.11022V12.4091H4.71022ZM2.92741 10.177L4.04862 10.6255L5.01424 8.21143L3.89303 7.76294L2.92741 10.177ZM3.23143 9.41845V12.7926H5.83143V9.41845H3.23143ZM8.48139 12.77L4.95223 11.5626L4.11064 14.0227L7.63981 15.23L8.48139 12.77ZM6.7606 8.0606V14H9.3606V8.0606H6.7606ZM2.99529 3.54418L7.02559 8.8472L9.09561 7.27399L5.06531 1.97096L2.99529 3.54418Z" fill="#0068DE" mask="url(#path-1-inside-1_57915_53334)"/>
|
6
|
+
<path d="M8.55859 13.2165V8.37967L13.498 6.08638V10.9232L8.55859 13.2165Z" fill="#0068DE" stroke="#0068DE"/>
|
7
|
+
<path d="M8.21608 7.43759L4.80515 2.94953L9.81611 0.623007L13.227 5.11107L8.21608 7.43759Z" fill="#0068DE" stroke="#0068DE"/>
|
8
|
+
</svg>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="16" viewBox="0 0 14 16" fill="none">
|
2
|
+
<mask id="path-1-inside-1_57915_3657" fill="white">
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.03081 3.71851L0 6.28736V12.2814L3.41065 13.4587V9.98801L4.532 10.4406V13.8458L8.06161 15.0643V9.07028L4.03081 3.71851Z"/>
|
4
|
+
</mask>
|
5
|
+
<path d="M0 6.28736L-0.698673 5.19107L-1.3 5.5743V6.28736H0ZM4.03081 3.71851L5.06922 2.9364L4.34595 1.9761L3.33213 2.62221L4.03081 3.71851ZM0 12.2814H-1.3V13.2079L-0.424205 13.5102L0 12.2814ZM3.41065 13.4587L2.98645 14.6876L4.71065 15.2828V13.4587H3.41065ZM3.41065 9.98801L3.89722 8.78251L2.11065 8.0614V9.98801H3.41065ZM4.532 10.4406H5.832V9.56343L5.01858 9.23511L4.532 10.4406ZM4.532 13.8458H3.232V14.7723L4.1078 15.0747L4.532 13.8458ZM8.06161 15.0643L7.63741 16.2931L9.36161 16.8883V15.0643H8.06161ZM8.06161 9.07028H9.36161V8.63549L9.10003 8.28818L8.06161 9.07028ZM0.698673 7.38365L4.72948 4.8148L3.33213 2.62221L-0.698673 5.19107L0.698673 7.38365ZM1.3 12.2814V6.28736H-1.3V12.2814H1.3ZM3.83485 12.2299L0.424205 11.0525L-0.424205 13.5102L2.98645 14.6876L3.83485 12.2299ZM4.71065 13.4587V9.98801H2.11065V13.4587H4.71065ZM2.92408 11.1935L4.04543 11.6461L5.01858 9.23511L3.89722 8.78251L2.92408 11.1935ZM3.232 10.4406V13.8458H5.832V10.4406H3.232ZM8.48582 13.8354L4.95621 12.617L4.1078 15.0747L7.63741 16.2931L8.48582 13.8354ZM6.76161 9.07028V15.0643H9.36161V9.07028H6.76161ZM2.99239 4.50061L7.0232 9.85239L9.10003 8.28818L5.06922 2.9364L2.99239 4.50061Z" fill="white" mask="url(#path-1-inside-1_57915_3657)"/>
|
6
|
+
<path d="M8.5625 14.2779V9.38818L13.5026 7.07375V11.9634L8.5625 14.2779Z" fill="white" stroke="white"/>
|
7
|
+
<path d="M8.21735 8.44534L4.80134 3.90984L9.81609 1.56045L13.2321 6.09596L8.21735 8.44534Z" fill="white" stroke="white"/>
|
8
|
+
</svg>
|
@@ -8,6 +8,7 @@
|
|
8
8
|
:customColor="customColor"
|
9
9
|
:noWrap="noWrap"
|
10
10
|
:data-id="dataId"
|
11
|
+
:fontColor="fontColor"
|
11
12
|
>
|
12
13
|
{{ text }}
|
13
14
|
</button-container>
|
@@ -35,12 +36,14 @@ const ButtonAttrs = {
|
|
35
36
|
isDisabled: Boolean,
|
36
37
|
minWidth: String,
|
37
38
|
customColor: String,
|
39
|
+
fontColor: String,
|
38
40
|
noWrap: Boolean
|
39
41
|
}
|
40
42
|
const ButtonContainer = styled('div', ButtonAttrs)`
|
41
43
|
padding: 7px 15px;
|
42
44
|
font-size: 13px;
|
43
|
-
color: ${(props) =>
|
45
|
+
color: ${(props) =>
|
46
|
+
props.fontColor ? props.fontColor : props.theme.colors.white};
|
44
47
|
background-color: ${(props) =>
|
45
48
|
props.isDisabled
|
46
49
|
? props.theme.colors.disabled
|
@@ -91,6 +94,9 @@ export default {
|
|
91
94
|
required: false,
|
92
95
|
default: null
|
93
96
|
},
|
97
|
+
fontColor: {
|
98
|
+
required: false
|
99
|
+
},
|
94
100
|
noWrap: {
|
95
101
|
required: false,
|
96
102
|
default: false
|
@@ -9,6 +9,7 @@
|
|
9
9
|
:hoveredBackgroundColor="hoveredBackgroundColor"
|
10
10
|
:isHovered="isHovered"
|
11
11
|
:data-id="dataId"
|
12
|
+
:noCursor="noCursor"
|
12
13
|
>
|
13
14
|
<icon
|
14
15
|
:disabled="disabled"
|
@@ -52,7 +53,8 @@ const wrapperAttrs = {
|
|
52
53
|
size: String,
|
53
54
|
backgroundColor: String,
|
54
55
|
hoveredBackgroundColor: String,
|
55
|
-
hasBorder: Boolean
|
56
|
+
hasBorder: Boolean,
|
57
|
+
noCursor: Boolean
|
56
58
|
}
|
57
59
|
const Wrapper = styled('div', wrapperAttrs)`
|
58
60
|
position: relative;
|
@@ -65,7 +67,8 @@ const Wrapper = styled('div', wrapperAttrs)`
|
|
65
67
|
: ''};
|
66
68
|
justify-content: center;
|
67
69
|
align-items: center;
|
68
|
-
cursor: ${(props) =>
|
70
|
+
cursor: ${(props) =>
|
71
|
+
props.noCursor ? 'auto' : props.disabled ? 'not-allowed' : 'pointer'};
|
69
72
|
background-color: ${(props) =>
|
70
73
|
props.theme.colors[props.backgroundColor] || props.backgroundColor};
|
71
74
|
border-radius: ${(props) => props.borderRadius};
|
@@ -147,6 +150,10 @@ export default {
|
|
147
150
|
isStriked: {
|
148
151
|
required: false,
|
149
152
|
default: false
|
153
|
+
},
|
154
|
+
noCursor: {
|
155
|
+
required: false,
|
156
|
+
default: false
|
150
157
|
}
|
151
158
|
}
|
152
159
|
}
|
@@ -315,7 +315,7 @@ const selectDropdown = styled('div', selectDropdownAttrs)`
|
|
315
315
|
align-items: flex-start;
|
316
316
|
padding: 0px;
|
317
317
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
318
|
-
width: ${(props) => (props.optionWidth ? props.optionWidth : '
|
318
|
+
width: ${(props) => (props.optionWidth ? props.optionWidth : '100%')};
|
319
319
|
background-color: ${(props) =>
|
320
320
|
props.theme.colors[props.bgColor]
|
321
321
|
? props.theme.colors[props.bgColor]
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<svg width="15" height="9" viewBox="0 0 15 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<path d="M14.462 8.46H12.894C12.7848 8.46 12.697 8.4327 12.6307 8.37809C12.5683 8.32349 12.5176 8.26108 12.4786 8.19087L10.5186 4.94378C10.4874 5.04129 10.4504 5.12514 10.4075 5.19535L8.52943 8.19087C8.48263 8.25718 8.42802 8.31958 8.36562 8.37809C8.30711 8.4327 8.2291 8.46 8.13159 8.46H6.66309L9.47138 4.10714L6.77425 0H8.34221C8.45143 0 8.52943 0.0156017 8.57624 0.0468051C8.62694 0.0741079 8.67375 0.120913 8.71665 0.18722L10.6415 3.28805C10.6805 3.19054 10.7273 3.09303 10.7819 2.99552L12.5488 0.216473C12.5917 0.142365 12.6385 0.0877595 12.6892 0.052656C12.7399 0.017552 12.8043 0 12.8823 0H14.3859L11.6654 4.04278L14.462 8.46Z" fill="#263238"/>
|
3
|
-
<path d="M3.16519 7.23137C3.45772 7.23137 3.70344 7.19627 3.90237 7.12606C4.10129 7.05585 4.25925 6.96224 4.37627 6.84523C4.49718 6.72822 4.58299 6.5917 4.63369 6.43569C4.6883 6.27967 4.7156 6.1139 4.7156 5.93838C4.7156 5.75506 4.68635 5.59124 4.62784 5.44693C4.56934 5.29871 4.47768 5.1739 4.35286 5.07249C4.22805 4.96718 4.06618 4.88722 3.86726 4.83261C3.67224 4.77801 3.43627 4.75071 3.15934 4.75071H1.57382V7.23137H3.16519ZM1.57382 1.21693V3.66249H2.82585C3.36411 3.66249 3.76975 3.56498 4.04278 3.36996C4.31971 3.17494 4.45817 2.86486 4.45817 2.43971C4.45817 1.99896 4.33336 1.68498 4.08373 1.49776C3.83411 1.31054 3.44407 1.21693 2.91361 1.21693H1.57382ZM2.91361 0C3.46747 0 3.94137 0.0526557 4.33531 0.157967C4.72925 0.263278 5.05104 0.413444 5.30066 0.608465C5.55419 0.803486 5.73946 1.03946 5.85647 1.31639C5.97349 1.59332 6.03199 1.90535 6.03199 2.25249C6.03199 2.45141 6.00274 2.64253 5.94423 2.82585C5.88573 3.00527 5.79407 3.17494 5.66925 3.33485C5.54834 3.49087 5.39232 3.63324 5.2012 3.76195C5.01398 3.89066 4.78971 3.99988 4.52838 4.08959C5.69071 4.35091 6.27187 4.97888 6.27187 5.97349C6.27187 6.33232 6.20361 6.66386 6.0671 6.96809C5.93058 7.27232 5.73166 7.5356 5.47033 7.75793C5.209 7.97635 4.88722 8.14797 4.50498 8.27278C4.12274 8.39759 3.68589 8.46 3.19444 8.46H0V0H2.91361Z" fill="#263238"/>
|
4
|
-
</svg>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<path d="M16 0H2C0.89 0 0 0.9 0 2V16C0 17.1 0.89 18 2 18H6V16H2V2H16V16H12V18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.11 0 16 0ZM9 6L5 10H8V18H10V10H13L9 6Z" fill="#263238"/>
|
3
|
-
</svg>
|