@eturnity/eturnity_reusable_components 1.2.19-EPDM-5310.5 → 1.2.19-EPDM-5310.6

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.19-EPDM-5310.5",
3
+ "version": "1.2.19-EPDM-5310.6",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -105,8 +105,8 @@ const LabelContainer = styled("label", containerProps)`
105
105
  props.size === "large"
106
106
  ? "16px"
107
107
  : props.size === "medium"
108
- ? "13px"
109
- : "10px"};
108
+ ? "13px"
109
+ : "10px"};
110
110
  user-select: none;
111
111
  flex: auto;
112
112
  align-self: baseline;
@@ -116,14 +116,14 @@ const LabelContainer = styled("label", containerProps)`
116
116
  props.size === "large"
117
117
  ? "23px"
118
118
  : props.size === "medium"
119
- ? "16px"
120
- : "12px"};
119
+ ? "16px"
120
+ : "12px"};
121
121
  width: ${(props) =>
122
122
  props.size === "large"
123
123
  ? "23px"
124
124
  : props.size === "medium"
125
- ? "16px"
126
- : "12px"};
125
+ ? "16px"
126
+ : "12px"};
127
127
  background-color: #fff;
128
128
  border-radius: 100%;
129
129
  border: 1px solid ${(props) => props.theme.colors.mediumGray};
@@ -142,14 +142,14 @@ const LabelContainer = styled("label", containerProps)`
142
142
  props.size === "large"
143
143
  ? "10px"
144
144
  : props.size === "medium"
145
- ? "8px"
146
- : "6px"};
145
+ ? "8px"
146
+ : "6px"};
147
147
  height: ${(props) =>
148
148
  props.size === "large"
149
149
  ? "10px"
150
150
  : props.size === "medium"
151
- ? "8px"
152
- : "6px"};
151
+ ? "8px"
152
+ : "6px"};
153
153
  border-radius: 100%;
154
154
  background: ${(props) => props.theme.colors.primary};
155
155
  }
@@ -228,10 +228,13 @@ export default {
228
228
  required: false,
229
229
  default: "medium", // small, medium, large
230
230
  },
231
+ radioName: {
232
+ required: false,
233
+ default: ''
234
+ }
231
235
  },
232
236
  data() {
233
237
  return {
234
- radioName: "",
235
238
  selectedImage: null,
236
239
  }
237
240
  },
@@ -247,7 +250,9 @@ export default {
247
250
  },
248
251
  },
249
252
  created() {
250
- this.radioName = Math.round(Math.random() * 10000)
253
+ if (this.radioName.length === 0) {
254
+ this.radioName = Math.round(Math.random() * 10000)
255
+ }
251
256
  },
252
257
  }
253
258
  </script>