@v1nt1248/3nclient-lib 0.0.22 → 0.0.23

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
@@ -2,7 +2,7 @@
2
2
  "name": "@v1nt1248/3nclient-lib",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "v1nt1248",
5
- "version": "0.0.22",
5
+ "version": "0.0.23",
6
6
  "description": "Library for 3NWeb clients",
7
7
  "private": false,
8
8
  "type": "module",
@@ -188,7 +188,7 @@
188
188
  line-height: var(--font-16, 16px);
189
189
  font-weight: 600;
190
190
  color: var(--black-90, #212121);
191
- margin-bottom: calc(var(--base-size, 8px) / 2);
191
+ margin-bottom: var(--half-size, 4px);
192
192
  }
193
193
 
194
194
  &__input {
@@ -222,13 +222,13 @@
222
222
  &__icon {
223
223
  position: absolute;
224
224
  left: var(--half-size, 4px);
225
- top: var(--base-size, 8px);
225
+ top: calc((var(--ui3n-input-height) - 16px) / 2);
226
226
  }
227
227
 
228
228
  &__clear-btn {
229
229
  position: absolute;
230
230
  right: 0;
231
- top: var(--half-size, 4px);
231
+ top: calc((var(--ui3n-input-height) - 28px) / 2);
232
232
  }
233
233
 
234
234
  &__error-text {
@@ -272,11 +272,11 @@
272
272
 
273
273
  &--with-label {
274
274
  .ui3n-input__icon {
275
- top: calc(var(--base-size, 8px) * 3.5 + 1px);
275
+ top: calc((var(--ui3n-input-height) - 16px) / 2 + 20px);
276
276
  }
277
277
 
278
278
  .ui3n-input__clear-btn {
279
- top: calc(var(--base-size, 8px) * 3 + 1px);
279
+ top: calc((var(--ui3n-input-height) - 28px) / 2 + 20px);
280
280
  }
281
281
  }
282
282
  }