@cloud-ru/ds-attachment 1.1.17 → 1.1.19-preview-882bc8d5.0
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/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.1.18 (2026-10-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **FF-9172:** gen-props resolves indexed access to the field type ([baf31c4](https://github.com/cloud-ru-tech/snack-v2/commit/baf31c4053e76c81d681c9c19a6622f009f40413))
|
|
11
|
+
|
|
6
12
|
## 1.1.17 (2026-10-05)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @ds/attachment
|
package/README.md
CHANGED
|
@@ -189,7 +189,7 @@ export function AttachmentSelectable() {
|
|
|
189
189
|
| `error` | `string` | — | Сообщение об ошибке |
|
|
190
190
|
| `file` | `File` | — | Файл |
|
|
191
191
|
| `fullWidth` | `boolean` | `true` | Растянуть карточку на всю ширину контейнера. Выключенная — ужимается по содержимому. |
|
|
192
|
-
| `icon` | `
|
|
192
|
+
| `icon` | `JSXElementConstructor<{ size?: number; className?: string; }> \| undefined` | — | Иконка для файла <br/> @defaultIcon FileSVG |
|
|
193
193
|
| `loading` | `boolean` | — | Управление состоянием загрузки |
|
|
194
194
|
| `onClick` | `((event: MouseEvent<HTMLDivElement, MouseEvent>) => void)` | — | Клик по карточке |
|
|
195
195
|
| `onDelete` | `((file?: File) => void)` | — | Колбек на клик по кнопке удаления |
|
|
@@ -298,7 +298,7 @@ export function AttachmentSquareImage() {
|
|
|
298
298
|
| `disabled` | `boolean` | — | Заблокировано |
|
|
299
299
|
| `error` | `string` | — | Сообщение об ошибке |
|
|
300
300
|
| `file` | `File` | — | Файл |
|
|
301
|
-
| `icon` | `
|
|
301
|
+
| `icon` | `JSXElementConstructor<{ size?: number; className?: string; }> \| undefined` | — | Иконка для файла <br/> @defaultIcon FileSVG |
|
|
302
302
|
| `loading` | `boolean` | — | Управление состоянием загрузки |
|
|
303
303
|
| `onClick` | `((event: MouseEvent<HTMLDivElement, MouseEvent>) => void)` | — | Клик по карточке |
|
|
304
304
|
| `onDelete` | `((file?: File) => void)` | — | Колбек на клик по кнопке удаления |
|