@eturnity/eturnity_reusable_components 7.20.0-EPDM-10528.0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "7.20.0-EPDM-10528.0",
3
+ "version": "7.20.0-EPDM-10528.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -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) => (props.disabled ? 'not-allowed' : 'pointer')};
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
  }