Commit Graph

46 Commits

Author SHA1 Message Date
babaevmm f0b16b0f02 update Background with block case
update Background with block case
2022-11-24 19:45:47 +03:00
alexeymakonin 19e498a124 Fixed a11y closing tablo
Fixed a11y closing tablo
2022-11-24 11:50:39 +03:00
morevsavva 3ed0abbc30 add background for text ranges
Добавил возможность задавать фоны в ренджах.
2022-11-21 13:54:44 +03:00
morevsavva c66b5ab654 Fix slider failure.
Fix slider failure.

Поправил креш в слайдере, теперь слайдер не крашится, а сбрасывает значения переменных в крайние.
2022-11-18 16:31:30 +03:00
morevsavva d918a8aba3 Add default value to init.
Add default value to init.

Add snapshots for tint mode.
2022-11-16 20:58:27 +03:00
ventywing f465f466b2 Fix height for linear container
Fix height for linear container
2022-11-16 19:10:51 +03:00
ventywing de80298852 Fix line height in wrap container
Fix line height in wrap container
2022-11-15 18:49:03 +03:00
morevsavva 62ead6a8ee Add blur and tint mode implementation.
Add blur and tint mode implementation
2022-11-14 22:16:48 +03:00
ventywing 42dd278b52 Add baseline alignment
Add baseline alignment
2022-11-14 16:30:34 +03:00
morevsavva 3a7a3166a3 Add metal renderer for tint color.
Add metal renderer for tint color.
Добавил метал вью для рендеринга картинок.
Подтянул новый алгоритм сравнения снепшотов. 
Обновил часть снепшотов (проверили, что все ок).
Немного обновил RemoteImageViewContainer.
2022-11-09 15:17:53 +03:00
ventywing 0d1deb4b5b Add separatos in no_wrap conteiners
Add separatos in no_wrap conteiners
2022-11-01 12:10:36 +03:00
pkurchatov 5c926a6a5f fixed pager last page layout 2022-10-31 11:54:12 +03:00
burstein 3f99e72053 fixed NinePatchImage import and contentPosition
fixed NinePatchImage import and contentPosition - фиксы, необходимые, чтобы занести изменения в дивките в ПП
2022-10-28 11:44:15 +03:00
ventywing 3ca4018970 Add separators for wrap container
Add separators for wrap container
2022-10-27 12:13:34 +03:00
ventywing c81223465f Fix user interactions for text block
Fix user interactions for text block
2022-10-24 11:40:59 +03:00
pkurchatov 220a12e8fc fixed pager state change behavior 2022-10-21 15:15:26 +03:00
ventywing 7d589a464f Fix animations for div-text
Fix animations for div-text
2022-10-19 14:51:11 +03:00
akhmetsafin 7e0027a967 Add cross spacing to gallery
Add cross spacing to gallery
2022-10-18 15:02:59 +03:00
morevsavva 60cef87614 Add NinePatchImageView.
Add NinePatchImageView.
2022-10-17 12:01:49 +03:00
ventywing 964fdd843f Support text gradient in iOS
Support text gradient in iOS
2022-10-14 10:54:36 +03:00
chris-benua 42aa4bf777 replaced SeparatorBlock with EmptyBlock
replaced SeparatorBlock with EmptyBlock
2022-10-10 11:20:17 +03:00
morevsavva 4805b6756f Fix refactoring.
Fix refactoring.
Во время рефакторинга допустил ошибку, не проставил isUserInteractionEnabled для контейнера, из-за чего вьюха не пропускала тап и не работали жесты в некоторых кейсах.
2022-10-07 13:07:40 +03:00
burstein 5d8d105b19 resuming video after entering foreground
resuming video after entering foreground
2022-10-06 08:28:26 +03:00
morevsavva aa48f4c266 Core refactoring for nine patch implementation.
Core refactoring for nine patch implementation

Add nine patch for background images.
2022-10-05 14:24:01 +03:00
pkurchatov d88c88218f added library evolution support 2022-10-05 12:42:52 +03:00
ventywing fd1debcaa3 Wrap container tests
Wrap container tests
2022-09-26 20:54:09 +03:00
ventywing fb498bf297 Fix wrap_content height of horizontal container
Было:
https://jing.yandex-team.ru/files/ventywing/Screen%20Shot%202022-09-21%20at%2018.22.46.png
Стало:
https://jing.yandex-team.ru/files/ventywing/Screen%20Shot%202022-09-21%20at%2018.20.22.png
JSON https://paste.yandex-team.ru/15dafb05-4b4b-4d6d-bb9a-aba5b1bb93b5
2022-09-22 12:49:20 +03:00
ventywing 310b5fe043 First height calculating for vertical container
First height calculating for vertical container
2022-09-21 15:18:33 +03:00
ventywing 88d12eea9a Support match_parent children in wrap-container
Пример с горизонтальным контейнером:
https://jing.yandex-team.ru/files/ventywing/Screen%20Shot%202022-09-20%20at%2016.33.12.png
2022-09-21 14:12:43 +03:00
pkurchatov a2ed8633cc removed INTERNAL_BUILD directives
Избавляюсь от условной компиляции INTERNAL_BUILD, потому что непонятно, как этим пользоваться на клиентах в условиях библиотеки.
2022-09-14 14:03:58 +03:00
ventywing 5bbbba2dcf Reset scroll before changing offset in div input
Reset scroll before changing offset in div input
2022-09-12 16:32:43 +03:00
rnkorneeva 46b7a4ed2f added inlinable for generic function 2022-09-07 18:59:18 +03:00
ventywing 6156376b1d Fix content offset after hiding keyboard in div input
Fix content offset after hiding keyboard in div input
2022-09-07 16:18:31 +03:00
chris-benua f2727da921 fix compilation 2022-09-07 10:47:37 +03:00
morevsavva d8650ed0fd Add wrap container implementation
Добавил реализацию wrap в ContainerBlock, пока без снепшотов, отсматривал свои кейсы в семпл аппе.
2022-09-05 17:41:20 +03:00
ventywing 4fe45b8789 Fix alignment of text in div input
Fix alignment of text in div input
2022-09-05 12:34:17 +03:00
akhmetsafin 19fe2accd1 Fix visiabitity actions of DetachableAnimationBlock
Fix visiabitity actions of DetachableAnimationBlock
2022-09-01 23:09:34 +03:00
morevsavva ea7d08b485 sensitivity of the selection fixed
Увеличил область взаимодействия с ползунками выделения. До этого, чтобы ползунок начал двигаться нужно было начать Pan с той же строки, теперь можно начать жест с предыдущей и следующей строки (сравнил в сафари).
2022-09-01 22:21:11 +03:00
ventywing 67a5b71eca Support focus in div input
Support focus in div input
2022-09-01 09:45:59 +03:00
iiivanov 6f583a7943 support item_spacing in tab_title_style
support item_spacing in tab_title_style
2022-08-31 11:24:20 +03:00
ventywing ab85c50f59 Support alignment in div input
Support alignment in div input
2022-08-29 21:17:54 +03:00
pkurchatov 767757b998 fixed scale animation, updated sample 2022-08-27 01:42:23 +03:00
morevsavva c9cbe13bc0 Fix selecting text in multiline string
Многоточие, которое мы прилепляли к обрезанным строкам считается не продолжением строки (с сохранением порядка пропертей CTLine), а как будто "новой" строкой, дописанной снизу. Поэтому добавил отдельную обработку для обрезанной строки 
Чтобы было понятнее
Если была какая-то 2 строчная строка, то range у нее внутри attrstring будут как (x, y (y - кол-во символов в конкретной строке)), (x + y + 1, z) соответственно, а у обрезанной (x, y), (0, 2) потому что это уже несвязанные строки.
2022-08-26 15:04:58 +03:00
ventywing d5d642b8ee Support max_visible_lines and select_all_on_focus in div input
Support max_visible_lines and select_all_on_focus in div input
2022-08-26 08:57:59 +03:00
akhmetsafin 5f990dbd1f cleanup for opensource 2022-08-25 21:22:56 +03:00
divkit-github f1563c9890 chore(html-reporter): up version
Initial commit

Add notification for divkit

Allow overwrite for migration

[migration] browser/bitbucket/personal/booster/divkit

Note: mandatory check (NEED_CHECK) was skipped

DivKit files moved

dIVKIT-0: Fix ts builder build

update div-gallery visibility screenshots

update div-gallery visibility screens

a.yaml cleanup

updated codegen scripts

change gallery alignment

change internal types in expressions

removed copyrights

remove permissions

TemplatesSupportTests refactoring

Ничего не поменялось. Отрефакторил и почистил тесты.

Split package.json

send all public

removed yandex-team links

URL added type as ArgumentType

added camera permission description

safe area insets for errors count view

`EdgeInsets` for debug view with errors count. Needed for fullscreen divs. Naming corresponds to mapping `EdgeInsets` to div-variables.

Will be used here: https://nda.ya.ru/t/Lhr5Lxgb5KN6nX

fixed compiler warnings

fix DivKitComponents variables setup, add update func

fix DivKitComponents variables setup, add update func

authors clean up

Удалил коллег из инфраструктуры, тестирования и мессенджера. Половину людей я вообще тут не знаю. Список какой-то косячный, в нём, например, @booster и @askvortsov нет. Предлагаю заново вручную составить и записать туда тех, кто точно дивкитом занимался, а не просто мимо проходил.

Fix DivKit pods compilability

Fix DivKit pods compilability

use only english in demo app

translate divKit demo app russian text

Scroll when keyboard opened

Scroll when keyboard opened

Fix gallery scroll in a11y

Это копия пр-а, который я делал в репо алискита:

https://bitbucket.browser.yandex-team.ru/projects/ML/repos/mobile-alice-library-android/pull-requests/18808/overview

authors clean up2

SwiftGenerator

flake8 errors fix & ya.make edit

swift generation tests

swift references

swift generator implementation

init swift generator

code refactoring
1) rename to modeling
2) rename kind to PropertyType
3) delete apply_pluralization_rules
4) description default value is empty string
5) remove entity_type_field_alias, typename_alias, client_optional, profileEntities, ignore_properties, generate_plain_constructor
6) remove client prefix

Add XcodeBuild in ignore

Add XcodeBuild in ignore

introduce new global variable api

introduce new global variable api

Revert commit bdcbc0081395ebe44ed7fe24bf5f4b25569c6df0

LayoutKitSnapshotTests

Fix sandboxRelease dependencies.

support zero value for width and height

remove unused css variables

"CONTRIBUTING.md"

README draft

updated gitignore/arcignore

introduce color type in expressions

introduce color type in expressions

added xcconfig files

fixed swift formatting

fail tests if updating references

Чтобы уж точно не забыть вернуть False.

Layout changes

Fix expression parsing

don't change clickable state in a11y

don't change clickable state in a11y

Update items checks

Parse description references to translations

add licence file link

fixed expression properties generation

add ability to track requests to global variables

Добавляем в GlobalVariableController возможность подписаться на запросы к глобальным переменным.
Нужно дляОткрыт Накопительная палитра , а так же в целом полезная функциональность, через которую можно делать ленивый прогрев глобальных переменных

Changelog

Minor fixes

bump divkit version up to 3.0.0

fixed snapshot tests depdendencies

Иногда не запускалась сборка SnapshotTestsHostApp перед стартом тестов.

used new api-generator

deserialization refactoring

removed gitignore

samples text fixes

fixed samples text

remove theme button

remove theme button

demo activity redesign

demo activity redesign

habr sample app

change deleted images in screenshot tests

change deleted images in screenshot tests

new ic_launcher

new ic_launcher

more readme

Binding variable for div input

Biding variable for div input

Implement documentation generator

Rename max_lines to max_visible_lines

Rename max_lines to max_visible_lines

add habr and medium

fix div-functions doc

Fix link in description

Text selecting for demo app enabled

Text selecting for demo app enabled

KotlinGenerator

kotlin code generation

kotlin generation tests

kotlin generation references

add gradle wrapper to kotlin json builder

add gradle wrapper to kotlin json builder

DemoApp redesign

fixed codegen scripts

debugView safeAreaInsets

DebugView safe area insets

TypeScript Generator

ya.make changes

TypeScript generator

TypeScript tests

TypeScript test references

fix enumeration aliases

debugInfoParams fix compile

Fix black box flicker in video-custom

Fixed stub image showing by moving it away from PlayerView.
Increased stub loading speed by adding VideoViewModel warmup.
Fixed redundant redraws by combining stub visibility and
bitmap data.
PlayerView background was set to transparent.

DivExpression fix

DivExpression fix

Implement translations

Save & share

bind globalVariableController to divContext

bind variableController to divContext

used new TypeScript generator

Подключил генератор на питоне. Изменения в сгенерированных файлах связаны в основном с переводом описаний на английский язык.

moved LivePreview

Перенёс LivePreview из отдельного модуля в DivKitDemoApp. Добавил сканер кодов в UrlInputView. Удалил часть дублирующегося кода.

remove sms and phone_state permission

fix links interception

fix links interception

Fix link in documentation

remove site from "config.stable.json"

Support highlight_color and keyboardType in div input

Support highlight_color in div input

Action animation fix for iOS
2022-08-25 21:21:49 +03:00