@eturnity/eturnity_reusable_components 8.26.11-autiFill.4 → 8.26.11-autiFill.7

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.
@@ -21,6 +21,7 @@
21
21
  <CheckWrapper :has-label="hasLabel">
22
22
  <span class="checkmark"></span>
23
23
  </CheckWrapper>
24
+
24
25
  <LabelText v-if="hasLabel" :is-disabled="isDisabled">
25
26
  {{ label }}
26
27
  </LabelText>
@@ -232,6 +233,16 @@
232
233
  type: String,
233
234
  default: 'pointer',
234
235
  },
236
+ labelInfoText: {
237
+ type: String,
238
+ required: false,
239
+ default: null,
240
+ },
241
+ labelInfoAlign: {
242
+ type: String,
243
+ required: false,
244
+ default: 'left',
245
+ },
235
246
  },
236
247
  computed: {
237
248
  hasLabel() {
@@ -88,9 +88,9 @@
88
88
  if (isActive) {
89
89
  return theme.semanticColors.purple[500]
90
90
  }
91
- if (!isDirty) return theme.semanticColors.grey[200]
92
- if (isValid) return theme.semanticColors.purple[200]
93
- return theme.semanticColors.grey[200]
91
+ if (!isDirty) return theme.semanticColors.grey[50]
92
+ if (isValid) return theme.semanticColors.purple[50]
93
+ return theme.semanticColors.grey[50]
94
94
  }};
95
95
  border: 1px solid;
96
96
  border-color: ${({
@@ -103,12 +103,12 @@
103
103
  isDisabled,
104
104
  }) => {
105
105
  if (isDisabled) return theme.semanticColors.grey[500]
106
- if (isError) return theme.semanticColors.red[600]
106
+ if (isError) return theme.semanticColors.red[500]
107
107
  if (isWarning) return theme.semanticColors.yellow[600]
108
- if (!isDirty) return theme.semanticColors.grey[500]
108
+ if (!isDirty) return theme.semanticColors.grey[400]
109
109
  if (isActive) return theme.semanticColors.purple[600]
110
- if (isValid) return theme.semanticColors.purple[600]
111
- return theme.semanticColors.grey[500]
110
+ if (isValid) return theme.semanticColors.purple[50]
111
+ return theme.semanticColors.grey[400]
112
112
  }};
113
113
  color: ${({ theme, isValid, isActive }) =>
114
114
  isActive ? theme.colors.white : theme.semanticColors.grey[800]};