54 Commits
Author SHA1 Message Date
pkurchatov 37272e6d8c Fixed opacity for elements with solid background
commit_hash:2eb8615efb25f036482bbe06fa0799122301cc20
2024-09-16 13:50:12 +03:00
burstein f7031f1ca1 Reset local triggers when div patch is applied
70f89ed3f3ab4581744642325b3214b3a3b524ab
2024-08-05 17:06:53 +03:00
pkurchatov 8755040780 Added test
8d48368a1ecb519d64856d63eebc21db8a518f8e
2024-07-24 23:20:56 +03:00
babaevmm 3068da0c9b add reuseId
Тк reuseId добавили в div-base, решил сделать так:
1) Для Block добавил `reuseId: String?` с дефолтной реализацией nil
2) Добавил хранимое свойство reв DecoratingBlock
3) Присваиваю это свойство в applyBaseProperties предпоследним шагом перед экстеншенами
4) Добавил вычисляемые свойства к `WrapperBlock`,  `
4) Для `TabsView` удалил CollectionCellModel, там все время был один reuseId для всех типов, форс касты `Block` к этому типу
5) Для `GalleryView` и `TabView`: регистрирую `reuse_id` блоков в collectionView, если они ранее не были зареганы
6) Для того, чтобы reuseId работал в `Grid`,  добавил reuseId в DecoratingBlock Model
https://arcanum.yandex-team.ru/arcadia/divkit/public-ios/LayoutKit/LayoutKit/UI/Blocks/DecoratingBlock+UIViewRenderableBlock.swift?rev=rXXXXXX#L17
dbbb8fd9aeb382b18821a8a5289ff2b0314c1f01
2024-07-23 11:53:37 +03:00
pkurchatov ccb9df0c15 Imports cleanup
7f9830f5f0475350ea40abc9e2ed27c7f725dbc8
2024-07-15 20:04:34 +03:00
denlvovich e001d74afe Update to VGSL6.0
4f8b5f480ade3f347d5f0a2d01a1618069bcb846
2024-07-12 20:33:42 +03:00
pkurchatov 5a182f3021 Fixed paths for tabs
4abfbc95f128006a681ce985ae8c5d9d4e753b75
2024-07-06 01:04:33 +03:00
pkurchatov 10a5789539 Local variables
94156d00b5e15f7aa05d65af81601ff2b84333a7
2024-06-28 12:14:17 +03:00
morevsavva ab0d33174e Fixed pager and gallery scroll.
fbf7c7bc701bc1199c469fed8e4c9e1ab3e3c010
2024-06-27 13:43:19 +03:00
pkurchatov 8b7174c9e0 Added id field in item builder prototype
edb4a0e2affd572ab47ee40b5aeadb9529acf838
2024-06-17 17:08:32 +03:00
pkurchatov 6d5b098d61 Fixed clipping in container
d83fd2ea3ce5c6d7238c9c650078940bc59d33ce
2024-05-27 19:24:18 +03:00
pkurchatov e7b5bdfc8f Added fontFeatureSettings
6be6722ad86dbe1c9e6fbaf5163e1605740e5f58
2024-05-24 15:08:08 +03:00
pkurchatov 2f946b541d Supported expressions in div-action.log_id
e280c597ea2972a6b52a97a8253a8daab116c6e0
2024-04-19 14:11:42 +03:00
pkurchatov 6d4e785be4 Applied Swift 5.9 format
7efc9a489061fda48036f567437a3d692591ff4a
2024-02-27 10:59:51 +03:00
pkurchatov 8ec754a8df Removed redundant accessibility element in DivText 2024-02-06 15:40:10 +03:00
pkurchatov ab043d2cdb Fixed div-input accessibility 2024-02-03 23:03:13 +03:00
pkurchatov a6d6972bd9 Added auto div-accessibility.type 2024-02-02 14:42:52 +03:00
morevsavva ef967eef39 Removed the implicit data access in prototypes. 2024-01-23 00:20:54 +03:00
pkurchatov cb8434288f Added DivAccessibility.type=list support 2024-01-18 19:42:14 +03:00
pkurchatov 2f67a82924 Fixed accessibility for elements without description 2024-01-10 13:06:38 +03:00
pkurchatov af422f28dd Applied swiftformat 2024-01-10 02:08:08 +03:00
pkurchatov 39ff3d1982 Fixed accessibility params applying order 2023-12-28 19:24:24 +03:00
pkurchatov 97a99c967e Fixed DivContainer without items 2023-12-25 13:21:35 +03:00
pkurchatov 99a3ee447c Optimized accessibility elements creation 2023-12-22 23:28:29 +03:00
pkurchatov 691c7b6ae9 Fixed DivText accessibility element, added tests 2023-12-21 12:46:14 +03:00
akhmetsafin d9020a00c8 Support is_enabled in actions 2023-12-21 02:46:21 +03:00
pkurchatov 625c2acadf Fixed base blocks modeling 2023-12-20 14:49:55 +03:00
pkurchatov 1e7a42a776 Fixed cardLogId priority 2023-12-19 01:10:03 +03:00
morevsavva 4b1b645f0b removed restriction on empty list of items in gallery. 2023-12-13 17:46:54 +03:00
morevsavva 1406381d24 removed restriction on empty list of items. 2023-12-13 14:08:52 +03:00
pkurchatov 3582a17236 Removed non_empty_string type from JSON schema 2023-12-07 12:05:50 +03:00
pkurchatov b1fbb8bc22 Removed UserInterfaceAction.Payload.json usage 2023-11-21 12:09:11 +03:00
pkurchatov e7818f7b02 Applied formatter 2023-10-30 17:06:56 +03:00
pkurchatov c0216f3231 Added DivImageHolderFactory protocol 2023-10-19 18:34:20 +03:00
pkurchatov 762e757a3a Reduced types and methods visibility 2023-09-01 13:48:06 +03:00
mariyshka737 b3b630ec8e new format for all errors, combine elements errors as a cause in empty array error 2023-08-27 16:51:46 +03:00
pkurchatov c94842d640 Moved swiftlint config 2023-08-21 13:17:18 +03:00
chris-benua 0a34216176 include log-id in visibility- and disappear-actions to have separate visibility counter 2023-08-15 19:41:09 +03:00
pkurchatov 38e275e8fa removed DivBlockActionModelingContext 2023-08-11 14:59:51 +03:00
chris-benua 06d6c5cf0e add visible bounds caching by UIElementPath 2023-08-03 11:34:50 +03:00
pkurchatov 3ba13ab694 Removed unused galleryResizableInsets param 2023-07-11 14:28:24 +03:00
akhmetsafin 7ee66f1f65 Rename base modules 2023-03-28 12:17:21 +03:00
pkurchatov d37caa91af fixed DivGallery actions 2023-03-23 22:59:53 +03:00
mariyshka737 fb751414a0 /1: change asserts in new 4 test with existing format 2023-03-02 16:29:59 +03:00
mariyshka737 65b9a4a041 /0: check for image with overriden traits
When create an ImageBlock, there was traits check. But image in container is created with overriden height and width, which can be different from those checked. Changed check to use the same (overriden) height and width.
2023-03-02 14:24:42 +03:00
iosnick 265055f3d6 MatchParent problem solved
Filtration added
2022-12-30 20:41:42 +03:00
morevsavva 52ccd56888 Format files by codestyle.
Прогнал форматтер на всех файлах.
2022-12-22 16:21:24 +03:00
ventywing afd7e9fc4e Fallback match_parent child size for gallery
Fallback match_parent child size for gallery
2022-10-11 10:24:22 +03:00
ventywing 9b151d2a54 Fallback match_parent child size on wrap_content constrained
Новый подход с фолбеком размеров с match_parent на wrap_content constrained
2022-10-07 12:44:02 +03:00
ventywing fd1debcaa3 Wrap container tests
Wrap container tests
2022-09-26 20:54:09 +03:00