34 Commits

Author SHA1 Message Date
88f224272b fix: expose missing css background* properties on View (#7032) 2019-03-15 17:42:03 +02:00
9d21a743c4 Revert 5772 revert 5534 css gradients (#5779)
* Revert "Revert "Css gradients" (#5772)"

This reverts commit 7edf56197a179b13e1afe4c706aea4a99ac62aca.

* chore(): fix LinearGradient circular dependency
2018-05-10 10:44:35 +03:00
7edf56197a Revert "Css gradients" (#5772)
This reverts commit 5a83a1c858e8095353aa50fe4ea080b07bf85813.
2018-05-03 18:17:07 +03:00
5a83a1c858 Css gradients (#5534)
* feat(ios): Added support for css gradients.

* feat(android): Added support for css gradients.

* fix: Fixed gradient borders on ios

* fix(gradient): added backgroundGradient to View and Style.

* fix(ios-gradients): fixed ios gradients covering view content.

* test(gradient): Added ui app tests for background gradients.

* test(gradient): Added a test ensuring background gradient property is applied to style.

* style(gradient): Fixed tslint errors.

* fix(gradient): Removed the background-gradient property and added the gradient to background-image.

* style: fixed a consecutive blank line tslint error.

* fix(tests): fixed the bug that was causing tests to fail.

* chore(linear-gradient): fix equality comparer

* test(gradient): add linear gradients test app

* chore(tslint): update with latest tslint rules
2018-05-03 13:24:41 +03:00
fc9a0b7ad8 Introduce background shorthand property (#5053)
* Introduce background shorthand style property

* Add text property in parser for BackgroundPosition value

reason: prevent parsing of background position (pass it as sample string)

* Introduce background-shorthand test page

* Modify parser unit tests to respect the new BackgroundPosition 'text' property
2017-11-15 14:07:40 +02:00
c26f1c916a Add line-height test page (#4638)
* Add lineHeight property to text-base.d.ts

* Add line-height test page
2017-08-02 09:30:29 +03:00
43659799bc Implement non uniform border corner radiuses and fix blinking image-view radiuses (#4573)
* Image corners were blinking in #4322 and CSS border will now draw non uniform corner radiuses if the border color is uniform

* Implement per-side corner radiuses for iOS

* Update stretch-mode example

* Update matrix-mode example

* Update image resources

* Add clipping for non uniform radii without border width, don't throw for missing image resources in css
2017-07-27 15:36:47 +03:00
2526ac06f2 Update tests (#4345)
* Update tests

* Fix typos

* Fix tslint
2017-06-09 09:54:38 +03:00
97b1cd9060 Tsenov/searchbar (#4328)
* Searchbar tests

* Update search bar test page

* Fix path to events test pages

* Update text-view test pages
2017-06-07 10:25:16 +03:00
51d1be5bb8 Tsenov/auto complete (#4318)
* Init steps

* Implement logic for auto-complete for all test pages

* Init steps

* Implement logic for auto-complete for all test pages

* Expose TestPageMainViewModel

* Merge

* Improve check if example is already loaded in collection

* Reorder tests

* Fix tslint

* Include csslv

* Include new image source
2017-06-06 16:06:21 +03:00
99611a9979 Include resource folder
Fix tslint error
2017-05-31 17:21:17 +03:00
fc20e1a00d Include test page for issue 4135 2017-05-19 19:32:19 +03:00
3102385f54 Include pages for formatted text with applied css in label, button, text field, text view
Update main-view-model
2017-05-15 00:19:13 +03:00
af38cf5f3e Create css combnators tests page in apps
Setup direct siblings apps tests

Fix direct child test

Add direct sibling test on class and type element

Add sibling combinator handling for id selectors

Completely redo sibling selector and add attributes and pseudo class selectors tests

Handle sibling via a custom group instead of a selector

Fix Selector groups creation

Add unit test for sibling selection

Fix tslint errors
2017-05-09 11:29:11 +03:00
2bdb5622df Add test page
Pixels perfect and device independent pixels
2017-03-15 17:21:56 +02:00
84819f6c9a Implemented placeholder-color for text-view IOS 2017-03-13 18:12:11 +02:00
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
886fbb260d Include new ui tests for fonts 2017-03-02 10:17:36 +02:00
6a2c94a94e Revert listview tests 2017-02-21 15:28:37 +02:00
06908de826 Include test for listview with separator color 2017-02-20 17:31:10 +02:00
4cd3eed1cd Trying to fix padding... 2016-12-21 14:30:34 +02:00
669f6dc8ec ListPicker color and bckgColor set from CSS 2016-12-02 11:45:44 +02:00
9ebc01b8e9 Add inset CSS clip-path support 2016-11-10 14:41:32 +02:00
c244af3e2b Rename a flexbox test page
Fix a typo.
2016-11-03 11:42:50 +02:00
fb07c08229 Add new test page for layouts 2016-10-26 16:33:00 +03:00
65bb76464d Move tab-view test from css to tab-view 2016-10-25 12:53:52 +03:00
9fc143ee03 Add support for TabView CSS
TabView {
    tab-text-color: green;
    tab-background-color: yellow;
    selected-tab-text-color: red;
    android-selected-tab-highlight-color: orange;
    text-transform: uppercase;
}
2016-10-24 15:07:22 +03:00
21800b64e1 moe tabmore page from css to tab-view folder 2016-10-11 20:42:20 +03:00
adf77afbd4 Add two more sample pages for testing borders.
Related to #859
2016-09-20 17:01:05 +03:00
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +03:00
e802f10bbc Fix UI test decoration_05_lineThroughUnderlineNone 2016-08-22 18:00:13 +03:00
996858825c Fix: Text color of the Button not applied, when text-transform has been set.
Resolves #2601
2016-08-22 15:43:45 +03:00
fc39fad959 Fix: CSS background-image on Label not loading in iOS
Resolves #2414
2016-07-21 09:45:50 +03:00
e76517693f Implement new logic for loading ui tests 2016-07-18 13:56:10 +03:00