Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Kristen Halper 6802487a05
Update WindowState dependencies (#57)
* Update WindowState gradle and dependencies

* Update readme

* Update JDK version for workflow
2023-05-04 11:01:53 -07:00
Kristen Halper 703d5d3240
Update library dependencies and TwoPaneLayout navigation methods (#53)
* Update dependencies

* Remove incorrect launchSingleTop implementation

* Add more navigation options to TwoPaneNavScope

* Update navigations methods and add tests

* Finish updating library dependencies

* Update readme

* Update version info in readmes

* Fix linting issue

* Address PR comments
2023-02-06 10:18:14 -08:00
Kristen Halper 613ae1ecfe
Use JWM WindowSizeClass in WindowState (#51)
* Update JWM version

* Remove custom WindowSizeClass implementation

* Update default width/height value to be greater than 0

* Add new window size class tests

* Update dependencies

* Bump version and update readme
2022-11-22 09:33:48 -08:00
Kristen Halper 4f7dcd85f7
Use height window size class in window mode calculations (#47)
* Frame sample pictures if frame is available

* Update sample to be vertically scrollable

* Bump release version and dependencies

* Add logic to check height size class when checking if a window is large

* Add new tests to make sure height class logic works correctly

* Add another height size class logic test

* Upgrade dependency versions

* Update additional dependencies
2022-10-27 08:32:15 -07:00
Kristen Halper 561342f383
Update WindowState to Compose 1.2.0 and update sample (#40)
* Update WindowState dependencies

* Update to gradle version 7.2.0

* Update windowstate sample UI

* Update readmes

* Fix typo in publishing.gradle

* Move strings to resource file
2022-08-09 11:36:37 -07:00
Joy Liu fc21e94bc9
Move to Compose1.1.1 with the release notes (#19)
* Update README to add the release notes

* Move to Compose1.1.1

* Update README
2022-03-01 11:22:52 -08:00
Kristen Halper 0ba58901d4
Refactor pane1Weight and update to Dp units (#16)
* Update dependencies

* Update to DpSize and DpRect units

* Refactor pane1Weight to largeScreenPane1Weight property

* Update WindowState tests

* Update readme

* Update sample usage

* Add largeScreenPane1Weight to sample

* Update screenshots and readme

* Fix ktlint issues

* Update comments

* Update readmes
2022-02-14 17:35:16 -05:00
Kristen Halper a2b4061478
Update WindowState to Compose 1.1.0-rc03 (#14) 2022-02-09 09:07:27 -05:00
Kristen Halper 78afdd1b5d
Update WindowState API (#10)
* Update social links in readme

* Move "add to your project" section of readme to top

* Rename properties and make all size units Dp

* Move public properties to top of class and add header comments

* Add dynamic foldable pane size properties

* Make isPortrait check a helper function

* Add generic paneSize properties and update sample/foldable pane logic

* Use RectF instead of Rect to avoid loss of precision

* Add more unit tests

* Rename isPortrait helper function

* Add tests for remaining API properties

* Update to JWM stable!

* Update gradle version

* Add exception tests

* Add more descriptive comments to the WindowState class

* Bump WindowState release version

* Update API reference in README

* Remove duplicate pane size properties

* Add readme to library sample with screenshots

* Fix image links and reduce image sizes

* Add prereq section to readme

* Add PR comments

* Address additional comments

* Fix versionName typo

* Expose getPaneSizes() for cases where we cannot call composable functions

* Remember WindowLayoutInfo
2022-01-31 19:01:12 -05:00
Joy Liu 08c242b690
Introducing Windowstate as a new SDK (#9)
* Create WindowState project

* Bring in the implementation

* Update dependencies

* Update publishing url for WindowState and TwoPaneLayout

* Add sample to showcase WindowState

* Code clean up

* Update WindowSizeClass entry

* Update foldSize and paneWidth in Dp value

* Update README

* Remove unnecessary test case

* Update the pipeline to include WindowState

* Add missing files

* Delete local.properties

* Address the comment

* Add publish yml files

* Fix the wrong name
2022-01-07 10:32:06 -08:00