63 Commits
Author SHA1 Message Date
denlvovich b6156fe2e4 Pager layout updated
commit_hash:73403f622a3c48441c24a97c97419e816e7d3b96
2024-09-27 16:54:04 +03:00
ventywing ccea6e38f9 Support tighten width for text
commit_hash:664227719b35cc0b0cdbead9f1291c1c8c4f67be
2024-09-26 08:31:23 +03:00
ventywing a059fee091 Fix max_size for long text
commit_hash:6ca283752a6ce3f8b7a4da3375f29bb6c4889eb1
2024-09-19 16:46:54 +03:00
saabrosov ec9e8d5b4f Fixed pager scrolling
456e02b1fb28f16411c11a8c1b5f1b051c941421
2024-09-02 15:15:44 +03:00
saabrosov 506a4c392a Fixed bug with last small page.
49d32970be4f1ecd0102d6b5fa143a41d2e3b4b1
2024-08-30 14:03:29 +03:00
saabrosov 0fc35d9641 Fixed a bug when scrolling from page to another page.
7ecf33a967461348eea94543f1068150f14e4e66
2024-08-28 14:01:27 +03:00
saabrosov c6a6b0a5e0 Fixed a bug with scrolling through the last page.
e5851f9d4b64e0e264359c9e0f9c301cf49f94c6
2024-08-28 13:38:54 +03:00
saabrosov 61ddf6d488 Fixed a bug with scrolling through the last page.
89bf9869a64d8838f5590f6ae9f6d7314b5a79b3
2024-08-23 19:21:21 +03:00
saabrosov b193dbf1d7 Fixed a bug when scrolling from page to another page.
af317f2dc8dfcdb2259feb9aa64ef467e37d3b41
2024-08-12 13:55:13 +03:00
babaevmm 0c31bbafc1 reconfigure generic view if content is not child
14cdb13eb08f5adfab7a1405ebac9fb6c433c38b
2024-07-23 16:02:21 +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
denlvovich b1026a8b43 Changed the way to select input views for reuse
204a2ae44d03fe12da5721b3ac12584e2a6b0126
2024-07-19 11:37:55 +03:00
morevsavva 6214d22b74 fixed backward compatibility.
531efa2293a929e6db9dfe8c3bff9c71fa3f702c
2024-07-18 15:43:47 +03:00
morevsavva dc09deb21d supported slide animation in pager.
a29f65457a712bc0c64a1bbbed0c9ece78145adc
2024-07-16 18:21:42 +03:00
booster 87661fb69b Fixed merge conflicts
9f72c6074568681cc42128d00b32d8a43ad0ff24
2024-07-13 16:43:36 +03:00
denlvovich e001d74afe Update to VGSL6.0
4f8b5f480ade3f347d5f0a2d01a1618069bcb846
2024-07-12 20:33:42 +03:00
denlvovich 485c11c8d4 Fixed loss of weight of items when updating state of GridBlock
92159146a06a5bdcc0f91f4ee5a15f5839bf2711
2024-07-10 01:06:12 +03:00
pkurchatov 8c7e7f7aab Optimized DivLastVisibleBoundsCache
abe579d3b15298d9e498dc56e8ece6e874d24902
2024-07-08 16:45:32 +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 5d5cebf03e Revert "Fixed position of gallery element after scrolling with action"
60a43ea411eaaa17bec7b31d17e78c9423e1407d
2024-05-20 14:24:51 +03:00
pkurchatov 12aed0de3e Fixed disappear actions for invisible blocks
f01954eea07d274604c1d984d8fe8b30cbdd188e
2024-05-15 19:16:59 +03:00
akhmetsafin 0a8575af38 Fixed position of gallery element after scrolling with action
5027aacb775e399b501ea86ddd497f843bbd2b26
2024-04-25 12:05:50 +03:00
pkurchatov 3670a7c879 Applied swiftormat
d22237ac3335f62b16f37a172b1eb42a7558a5b5
2024-04-23 18:37:14 +03:00
pkurchatov 6045123b50 Improved views reuse
2e89f7cba7063a1ea6803ac2f5b1e045aeb4cdc9
2024-03-24 18:37:16 +03:00
pkurchatov 6d4e785be4 Applied Swift 5.9 format
7efc9a489061fda48036f567437a3d692591ff4a
2024-02-27 10:59:51 +03:00
akhmetsafin 14aae62651 Fix cursor position in the text with emoji 2024-01-25 01:21:11 +03:00
pkurchatov af422f28dd Applied swiftformat 2024-01-10 02:08:08 +03:00
akhmetsafin 7b51266734 Fix twitching of the infinite pager 2023-12-13 22:37:34 +03:00
morevsavva 1406381d24 removed restriction on empty list of items. 2023-12-13 14:08:52 +03:00
pkurchatov ee54f8b601 Applied swiftormat 2023-11-16 20:24:30 +03:00
akhmetsafin d00912a095 Support infinite scrolling in the pager 2023-11-14 13:11:32 +03:00
pkurchatov 998692a120 Applied formatter 2023-10-30 18:50:47 +03:00
pkurchatov e7818f7b02 Applied formatter 2023-10-30 17:06:56 +03:00
pkurchatov 15831d7e39 Xcode 15 support in tests 2023-10-19 18:13:22 +03:00
akhmetsafin 4041bf5e82 Fix mask ranges and cursor position 2023-09-21 22:26:24 +03:00
akhmetsafin 49cc49f243 Fix correct range selection in input mask 2023-09-05 11:37:18 +03:00
timfedo d4f9d8c60a Phone masks support on iOS 2023-08-29 18:08:07 +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
morevsavva 7a5a7ea55c fix input mask crash, single line cursor index. 2023-08-08 15:30:37 +03:00
pkurchatov 7e19b0ad42 Merged LayoutKitTests and LayoutKit_iOSTests 2023-07-10 14:04:12 +03:00
pkurchatov 9a0ecc190c removed harmfull asserts from GalleryViewLayout 2023-06-15 11:46:20 +03:00
bugperson e294aefc3e add axial alignment 2023-06-04 14:54:45 +03:00
bugperson 77e302d7e0 supported DisappearAction 2023-05-31 13:21:55 +03:00
morevsavva 7a2c65d065 Add fixed length mask implementation 2023-05-29 12:21:46 +03:00
booster f62aa36d46 Fixed layout for zero height 2023-04-28 12:20:16 +03:00
pkurchatov b26ac84569 added aspect support for vertical wrap container 2023-03-30 22:32:25 +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