@eturnity/eturnity_reusable_components 9.25.7 → 9.25.9
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/dist/index.es3.js
CHANGED
|
@@ -880,22 +880,22 @@ const theme = (() => {
|
|
|
880
880
|
},
|
|
881
881
|
size: {
|
|
882
882
|
large: {
|
|
883
|
-
padding: "10px
|
|
883
|
+
padding: "10px 12px",
|
|
884
884
|
fontSize: "14px",
|
|
885
885
|
iconWidth: "34px"
|
|
886
886
|
},
|
|
887
887
|
medium: {
|
|
888
|
-
padding: "8px
|
|
888
|
+
padding: "8px 10px",
|
|
889
889
|
fontSize: "14px",
|
|
890
890
|
iconWidth: "30px"
|
|
891
891
|
},
|
|
892
892
|
small: {
|
|
893
|
-
padding: "6px
|
|
893
|
+
padding: "6px 8px",
|
|
894
894
|
fontSize: "14px",
|
|
895
895
|
iconWidth: "26px"
|
|
896
896
|
},
|
|
897
897
|
tiny: {
|
|
898
|
-
padding: "
|
|
898
|
+
padding: "4px 6px",
|
|
899
899
|
fontSize: "11px",
|
|
900
900
|
iconWidth: "14px"
|
|
901
901
|
}
|
package/package.json
CHANGED
package/src/assets/theme.js
CHANGED
|
@@ -881,22 +881,22 @@ const theme = (() => {
|
|
|
881
881
|
},
|
|
882
882
|
size: {
|
|
883
883
|
large: {
|
|
884
|
-
padding: '10px
|
|
884
|
+
padding: '10px 12px',
|
|
885
885
|
fontSize: '14px',
|
|
886
886
|
iconWidth: '34px',
|
|
887
887
|
},
|
|
888
888
|
medium: {
|
|
889
|
-
padding: '8px
|
|
889
|
+
padding: '8px 10px',
|
|
890
890
|
fontSize: '14px',
|
|
891
891
|
iconWidth: '30px',
|
|
892
892
|
},
|
|
893
893
|
small: {
|
|
894
|
-
padding: '6px
|
|
894
|
+
padding: '6px 8px',
|
|
895
895
|
fontSize: '14px',
|
|
896
896
|
iconWidth: '26px',
|
|
897
897
|
},
|
|
898
898
|
tiny: {
|
|
899
|
-
padding: '
|
|
899
|
+
padding: '4px 6px',
|
|
900
900
|
fontSize: '11px',
|
|
901
901
|
iconWidth: '14px',
|
|
902
902
|
},
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<ContentElement
|
|
3
3
|
:background-color="backgroundColor"
|
|
4
4
|
:height="height"
|
|
5
|
-
:max-height="resolvedMaxHeight"
|
|
6
5
|
:max-width="resolvedMaxWidth"
|
|
7
6
|
:min-height="resolvedMinHeight"
|
|
8
7
|
:min-width="resolvedMinWidth"
|
|
@@ -24,19 +23,16 @@
|
|
|
24
23
|
minWidth: '320px',
|
|
25
24
|
maxWidth: '450px',
|
|
26
25
|
minHeight: undefined,
|
|
27
|
-
maxHeight: '80vh',
|
|
28
26
|
},
|
|
29
27
|
medium: {
|
|
30
28
|
minWidth: '450px',
|
|
31
29
|
maxWidth: '650px',
|
|
32
30
|
minHeight: undefined,
|
|
33
|
-
maxHeight: '95vh',
|
|
34
31
|
},
|
|
35
32
|
large: {
|
|
36
33
|
minWidth: '500px',
|
|
37
34
|
maxWidth: '95vw',
|
|
38
35
|
minHeight: undefined,
|
|
39
|
-
maxHeight: '95vh',
|
|
40
36
|
},
|
|
41
37
|
}
|
|
42
38
|
|
|
@@ -44,7 +40,6 @@
|
|
|
44
40
|
backgroundColor: String,
|
|
45
41
|
maxWidth: String,
|
|
46
42
|
minWidth: String,
|
|
47
|
-
maxHeight: String,
|
|
48
43
|
minHeight: String,
|
|
49
44
|
width: String,
|
|
50
45
|
height: String,
|
|
@@ -58,7 +53,6 @@
|
|
|
58
53
|
props.backgroundColor && `background-color: ${props.backgroundColor};`}
|
|
59
54
|
${(props) => props.maxWidth && `max-width: ${props.maxWidth};`}
|
|
60
55
|
${(props) => props.minWidth && `min-width: ${props.minWidth};`}
|
|
61
|
-
${(props) => props.maxHeight && `max-height: ${props.maxHeight};`}
|
|
62
56
|
${(props) => props.minHeight && `min-height: ${props.minHeight};`}
|
|
63
57
|
${(props) => props.width && `width: ${props.width};`}
|
|
64
58
|
${(props) => props.height && `height: ${props.height};`}
|
|
@@ -87,10 +81,6 @@
|
|
|
87
81
|
type: String,
|
|
88
82
|
required: false,
|
|
89
83
|
},
|
|
90
|
-
maxHeight: {
|
|
91
|
-
type: String,
|
|
92
|
-
required: false,
|
|
93
|
-
},
|
|
94
84
|
minHeight: {
|
|
95
85
|
type: String,
|
|
96
86
|
required: false,
|
|
@@ -117,9 +107,6 @@
|
|
|
117
107
|
resolvedMinHeight() {
|
|
118
108
|
return this.minHeight ?? this.sizePreset.minHeight
|
|
119
109
|
},
|
|
120
|
-
resolvedMaxHeight() {
|
|
121
|
-
return this.maxHeight ?? this.sizePreset.maxHeight
|
|
122
|
-
},
|
|
123
110
|
},
|
|
124
111
|
}
|
|
125
112
|
</script>
|