@eturnity/eturnity_reusable_components 7.18.0-EPDM-10335.2 → 7.18.0-EPDM-10335.3

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": "7.18.0-EPDM-10335.2",
3
+ "version": "7.18.0-EPDM-10335.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -16,6 +16,7 @@
16
16
  :disabledTextColor="disabledTextColor"
17
17
  :backgroundColor="colorMode == 'dark' ? '#000000' : backgroundColor"
18
18
  :title="hoverText"
19
+ :padding="padding"
19
20
  >
20
21
  <slot></slot>
21
22
  </optionContainer>
@@ -31,7 +32,8 @@ const optionProps = {
31
32
  cursorType: String,
32
33
  backgroundColor: String,
33
34
  disabledBgColor: String,
34
- disabledTextColor: String
35
+ disabledTextColor: String,
36
+ padding: String
35
37
  }
36
38
  const optionContainer = styled('div', optionProps)`
37
39
  display: flex;
@@ -39,7 +41,7 @@ const optionContainer = styled('div', optionProps)`
39
41
  flex-direction: row;
40
42
  justify-content: space-between;
41
43
  align-items: center;
42
- padding: 12px 10px;
44
+ padding: ${(props) => props.padding};
43
45
  gap: 14px;
44
46
  width: 100%;
45
47
  background-color: ${(props) =>
@@ -111,6 +113,10 @@ export default {
111
113
  disabledTextColor: {
112
114
  required: false,
113
115
  default: null
116
+ },
117
+ padding: {
118
+ required: true,
119
+ default: '12px 10px'
114
120
  }
115
121
  },
116
122