Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
1f40a6f
feat(file-upload): added primitives (#DS-3748)
NikGurev Dec 12, 2025
5e6278d
chore: features enhancement
NikGurev Dec 12, 2025
b98c6c2
chore(file-upload): integrate loader, context primitives
NikGurev Dec 16, 2025
11bdf27
chore(file-upload): integrate fileList primitive for multiple
NikGurev Dec 16, 2025
ce8996e
chore(file-upload): moved primitives to separate dirs
NikGurev Dec 16, 2025
90a673c
chore(file-upload): added docs example
NikGurev Dec 16, 2025
cf3acf7
feat(file-upload): redesign (#DS-3858)
NikGurev Dec 17, 2025
daf02c2
chore: refactor styles
NikGurev Dec 17, 2025
29e8f7d
chore: split single loader styles to separate mixin
NikGurev Dec 17, 2025
fb34c12
chore: applied empty state
NikGurev Dec 17, 2025
90996cc
chore: refactoring
NikGurev Dec 18, 2025
9bb2a89
chore: after rebase
NikGurev Dec 18, 2025
e10efd3
chore: refactored empty state multiple upload layout
NikGurev Dec 18, 2025
0acdba5
chore: redesign single file upload button focus
NikGurev Dec 18, 2025
f95bbaf
chore: removed unused locale property
NikGurev Dec 19, 2025
9ebcf76
chore: fixes according to UX review
NikGurev Jan 12, 2026
76df04c
chore: updated e2e
NikGurev Jan 12, 2026
6825c08
chore: removed redundant
NikGurev Jan 12, 2026
bafe5cb
chore: fixed border color
NikGurev Jan 12, 2026
0bb617d
chore: moved mixins to dedicated files & updated class names
NikGurev Jan 12, 2026
cf7d846
chore: fixes according to layouts
NikGurev Jan 12, 2026
d9dfe75
chore: updated padding from start
NikGurev Jan 12, 2026
1b08749
chore: fixed karma test
NikGurev Jan 12, 2026
31acc95
chore: updated golden file & tests
NikGurev Jan 12, 2026
9264ea2
chore: added extra states for e2e tests
NikGurev Jan 12, 2026
fed5d0d
chore: updated units
NikGurev Jan 13, 2026
7726474
chore: added extra states
NikGurev Jan 13, 2026
bd59303
test: updated e2e snapshots
NikGurev Jan 15, 2026
a438d76
chore: fix after UX review
NikGurev Jan 15, 2026
e71e866
chore: after rebase
NikGurev Jan 16, 2026
babfc56
chore: fixed linter
NikGurev Jan 16, 2026
4c7d075
refactor: run ci
NikGurev Jan 16, 2026
b1e6e4d
chore: fixed labels
NikGurev Jan 16, 2026
683b8ab
chore: after UX review
NikGurev Jan 16, 2026
874c920
test: updated e2e snapshots
NikGurev Jan 16, 2026
dcf20f9
chore: fixed snapshots
NikGurev Jan 16, 2026
ac252db
chore: fixed error color
NikGurev Jan 16, 2026
7a58191
test: updated e2e snapshots
NikGurev Jan 16, 2026
8b61594
refactor: run ci
NikGurev Jan 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions packages/components-dev/file-upload/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,7 @@ const maxFileSize = (control: AbstractControl): ValidationErrors | null => {
browseLink: 'выберите файлы',
browseLinkFolder: 'выберите папку',
browseLinkFolderMixed: 'папку',
title: 'Загрузите фотографии',
gridHeaders: {
file: 'Файл',
size: 'Размер'
}
title: 'Загрузите фотографии'
} satisfies KbqMultipleFileUploadLocaleConfig
}
]
Expand Down
14 changes: 5 additions & 9 deletions packages/components/core/locales/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,20 @@ export const enUSLocaleData = {
captionText: 'Drag file here or {{ browseLink }}',
captionTextOnlyFolder: 'Drag here or {{ browseLinkFolder }}',
captionTextWithFolder: 'Drag here or {{ browseLink }} or {{ browseLinkFolderMixed }}',
browseLink: 'choose file',
browseLink: 'choose',
browseLinkFolder: 'choose folder',
browseLinkFolderMixed: 'folder'
},
multiple: {
captionText: 'Drag here or {{ browseLink }}',
captionTextOnlyFolder: 'Drag here or {{ browseLinkFolder }}',
captionTextWithFolder: 'Drag here or {{ browseLink }} or {{ browseLinkFolderMixed }}',
captionText: 'or {{ browseLink }}',
captionTextOnlyFolder: 'or {{ browseLinkFolder }}',
captionTextWithFolder: 'or {{ browseLink }} or {{ browseLinkFolderMixed }}',
captionTextWhenSelected: 'Drag more or {{ browseLink }}',
captionTextForCompactSize: 'Drag files or {{ browseLink }}',
browseLink: 'choose files',
browseLinkFolder: 'choose folder',
browseLinkFolderMixed: 'folder',
title: 'Upload files',
gridHeaders: {
file: 'File',
size: 'Size'
}
title: 'Drag here'
}
} satisfies KbqFileUploadLocaleConfig,
codeBlock: {
Expand Down
6 changes: 1 addition & 5 deletions packages/components/core/locales/es-LA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ export const esLALocaleData = {
browseLink: 'elija',
browseLinkFolder: 'carpeta',
browseLinkFolderMixed: 'carpeta',
title: 'Cargue los archivos',
gridHeaders: {
file: 'Archivo',
size: 'Tamaño'
}
title: 'Cargue los archivos'
}
} satisfies KbqFileUploadLocaleConfig,
codeBlock: {
Expand Down
6 changes: 1 addition & 5 deletions packages/components/core/locales/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ export const ptBRLocaleData = {
browseLink: 'escolher',
browseLinkFolder: 'pasta',
browseLinkFolderMixed: 'pasta',
title: 'Carregar arquivos',
gridHeaders: {
file: 'Arquivo',
size: 'Tamanho'
}
title: 'Carregar arquivos'
}
} satisfies KbqFileUploadLocaleConfig,
codeBlock: {
Expand Down
12 changes: 4 additions & 8 deletions packages/components/core/locales/ru-RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,15 @@ export const ruRULocaleData = {
browseLinkFolderMixed: 'папку'
},
multiple: {
captionText: 'Перетащите сюда или {{ browseLink }}',
captionTextOnlyFolder: 'Перетащите сюда или {{ browseLinkFolder }}',
captionTextWithFolder: 'Перетащите сюда или {{ browseLink }} или {{ browseLinkFolderMixed }}',
captionText: 'или {{ browseLink }}',
captionTextOnlyFolder: 'или {{ browseLinkFolder }}',
captionTextWithFolder: 'или {{ browseLink }} или {{ browseLinkFolderMixed }}',
captionTextWhenSelected: 'Перетащите еще или {{ browseLink }}',
captionTextForCompactSize: 'Перетащите сюда или {{ browseLink }}',
browseLink: 'выберите файлы',
browseLinkFolder: 'выберите папку',
browseLinkFolderMixed: 'папку',
title: 'Загрузите файлы',
gridHeaders: {
file: 'Файл',
size: 'Размер'
}
title: 'Перетащите сюда'
}
} satisfies KbqFileUploadLocaleConfig,
codeBlock: {
Expand Down
6 changes: 1 addition & 5 deletions packages/components/core/locales/tk-TM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ export const tkTMLocaleData = {
browseLink: 'saýlaň',
browseLinkFolder: 'bukja',
browseLinkFolderMixed: 'bukja',
title: 'Faýl ýükläň',
gridHeaders: {
file: 'Faýl',
size: 'Ölçegi'
}
title: 'Faýl ýükläň'
}
} satisfies KbqFileUploadLocaleConfig,
codeBlock: {
Expand Down
4 changes: 0 additions & 4 deletions packages/components/core/locales/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ export interface KbqMultipleFileUploadLocaleConfig extends KbqBaseFileUploadLoca
captionTextWhenSelected: string;
captionTextForCompactSize: string;
title: string;
gridHeaders: {
file: string;
size: string;
};
}

export type KbqFileUploadLocaleConfig = {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ exports[`KbqMultipleFileUploadComponent with localeConfig input property should
"browseLinkFolderMixed": "папку",
"captionText": "TEST {{ browseLink }}",
"captionTextForCompactSize": "Перетащите сюда или {{ browseLink }}",
"captionTextOnlyFolder": "Перетащите сюда или {{ browseLinkFolder }}",
"captionTextOnlyFolder": "или {{ browseLinkFolder }}",
"captionTextWhenSelected": "Перетащите еще или {{ browseLink }}",
"captionTextWithFolder": "Перетащите сюда или {{ browseLink }} или {{ browseLinkFolderMixed }}",
"gridHeaders": {
"file": "Файл",
"size": "Размер",
},
"title": "Загрузите файлы",
"captionTextWithFolder": "или {{ browseLink }} или {{ browseLinkFolderMixed }}",
"title": "Перетащите сюда",
}
`;

Expand Down
Loading