@a-vision-software/vue-input-components 1.3.0 → 1.3.2

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": "@a-vision-software/vue-input-components",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "A collection of reusable Vue 3 input components with TypeScript support",
5
5
  "author": "A-Vision Software",
6
6
  "license": "MIT",
@@ -225,7 +225,7 @@ watch(isOpen, (newValue) => {
225
225
  font-size: 1.2em;
226
226
  color: var(--dropdown-color);
227
227
  padding: 0 0.75rem;
228
- border-right: 1px solid rgba(0, 0, 0, 0.2);
228
+ border-right: 1px solid rgb(from var(--dropdown-color) r g b / 20%);
229
229
  grid-column: 1;
230
230
  height: 100%;
231
231
  align-self: stretch;
@@ -17,7 +17,7 @@
17
17
  'has-error': error,
18
18
  'has-icon': icon,
19
19
  }">
20
- <div v-if="icon" class="icon-wrapper" @click="focusInput">
20
+ <div v-if="icon" class="icon-wrapper" :class="{ 'has-error': error }" @click="focusInput">
21
21
  <font-awesome-icon :icon="icon" class="icon" />
22
22
  </div>
23
23
  <Datepicker v-if="type === 'date'" :id="id" v-model="dateValue" :placeholder="placeholder" :disabled="disabled"
@@ -282,16 +282,19 @@ defineExpose({
282
282
  }
283
283
 
284
284
  .icon-wrapper {
285
- display: grid;
286
- place-items: start;
287
- padding: 1rem;
288
- border-right: 1px solid var(--border-color);
285
+ position: absolute;
286
+ left: 0.75rem;
287
+ top: 50%;
288
+ transform: translateY(-50%);
289
+ display: flex;
290
+ align-items: center;
291
+ justify-content: center;
292
+ color: var(--text-color);
289
293
  cursor: pointer;
290
- overflow: hidden;
291
294
  }
292
295
 
293
- .icon-wrapper:hover {
294
- background-color: var(--input-bg-hover);
296
+ .icon-wrapper.has-error {
297
+ color: var(--error-color);
295
298
  }
296
299
 
297
300
  .icon {