@brandup/ui-input 1.0.35 → 1.0.38

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +6 -3
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## Установка
8
8
 
9
- ```
9
+ ```bash
10
10
  npm i @brandup/ui-input
11
11
  ```
12
12
 
@@ -17,7 +17,7 @@ npm i @brandup/ui-input
17
17
  ### Свойства
18
18
 
19
19
  | Свойство | Тип | Описание |
20
- |---|---|---|
20
+ | --- | --- | --- |
21
21
  | `form` | `HTMLFormElement \| null` | Форма, к которой привязан элемент |
22
22
  | `disabled` | `boolean` | Элемент отключён |
23
23
  | `required` | `boolean` | Элемент обязателен для заполнения |
@@ -26,7 +26,7 @@ npm i @brandup/ui-input
26
26
  ### Методы
27
27
 
28
28
  | Метод | Описание |
29
- |---|---|
29
+ | --- | --- |
30
30
  | `validate(): boolean` | Проверяет значение через нативный `checkValidity()`. Возвращает `true`, если значение валидно |
31
31
  | `focus(): void` | Устанавливает фокус и прокручивает элемент в видимую область |
32
32
  | `destroy(): void` | Снимает все обработчики и освобождает ресурсы |
package/package.json CHANGED
@@ -1,4 +1,7 @@
1
1
  {
2
+ "publishConfig": {
3
+ "access": "public"
4
+ },
2
5
  "name": "@brandup/ui-input",
3
6
  "description": "Input control type and styles.",
4
7
  "keywords": [
@@ -21,12 +24,12 @@
21
24
  "email": "it@brandup.online"
22
25
  },
23
26
  "license": "Apache-2.0",
24
- "version": "1.0.35",
27
+ "version": "1.0.38",
25
28
  "main": "source/index.ts",
26
29
  "types": "source/index.ts",
27
30
  "dependencies": {
28
- "@brandup/ui": "^2.0.5",
29
- "@brandup/ui-kit": "^1.0.35"
31
+ "@brandup/ui": "^2.0.7",
32
+ "@brandup/ui-kit": "^1.0.38"
30
33
  },
31
34
  "files": [
32
35
  "source",