1428 Commits

Author SHA1 Message Date
dbaab58538 fix(styling): change transform parameters parsing (#9481)
Fixed the incorrectly applied short form of "transform: translate" style property.

closes #5202
2021-08-11 10:45:00 -07:00
490f7dce80 feat(android): vector drawable support (#9464) 2021-08-11 10:37:27 -07:00
36900d7c05 feat(image-source): add saveToFileAsync, toBase64StringAsync & resizeAsync (#9404) 2021-08-11 10:28:06 -07:00
7276c0e3cd revert: fix(android): nested dialog/fragment handling (#9495)
This reverts commit 4c547bb00c554d35408c7d0c44ef46e237819132.
2021-08-11 10:24:03 -07:00
4d91db193d chore: apps webpack config 2021-08-10 14:12:06 -07:00
fcc92f96ae chore: fix tests for ios 2021-08-10 14:05:24 -07:00
e498c9d5bc feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
Changes the behavior of android fragment transactions to use `add` instead of `replace` on forward navigation.

BREAKING CHANGE:

Changes the internal behavior of Android navigation:

* while navigating forward, the page navigated from is not unloaded anymore
* events order is changed in the sense that now `unloaded` happens after `navigatedFrom` instead of before

There are multiple plus sides to this:

* no more black views on navigation when using opengl (maps, ...)
* navigation is faster, especially the navigation back! No longer need to recreate the page anymore. Navigation forward also gets faster as we no longer unload the previous page
* navigatedFrom event happens faster
* this the default behavior used by most of the android native apps
2021-08-10 13:42:25 -07:00
7f37617b18 chore: cleanup 2021-08-10 13:34:31 -07:00
dce7408c05 feat(core): make css parsers tree-shakable (#9496) 2021-08-10 13:21:34 -07:00
7960f8361f chore: use correct copy-webpack-plugin syntax 2021-08-10 13:20:46 -07:00
90deb5b1ee test: fix apps/automated 2021-08-04 20:20:19 +02:00
4c547bb00c fix(android): nested dialog/fragment handling (#9495) 2021-08-03 21:57:19 -07:00
1b29d05099 chore: Nx 12 + fix ui app + TS 4.1 updates (#9359) 2021-04-26 19:11:19 -07:00
4494b2fb7c chore: npm 7 handling improvements 2021-04-24 11:17:38 -07:00
17a7019085 chore: npm 7 compat 2021-04-12 09:54:30 -07:00
75b59ecdbf chore(release): @nativescript/core@8.0.0 2021-04-06 11:18:36 -07:00
a66587dd90 chore: cleanup test 2021-04-06 11:18:36 -07:00
14360881e6 chore: fix automated tests 2021-04-06 11:18:36 -07:00
ede1685ae2 chore: cleanup types 2021-04-06 11:18:36 -07:00
b4415683d8 fix(apps): fix rootlayout page class name (#9279) 2021-04-06 11:18:36 -07:00
f00144e872 feat(view): "hidden" property binding is now supported 2021-04-06 11:18:36 -07:00
14e88f6e9d chore: requestLayout after applying 2021-04-06 11:18:36 -07:00
7c60735d14 chore: cleanup background handling 2021-04-06 11:18:36 -07:00
21da31562c chore: Enums > CoreTypes
Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
2021-04-06 11:18:36 -07:00
e62acba792 fix: move BottomNavigation and Tabs to @nativescript-community
Cocoapods no longer required with @nativescript/core out of the box and users are no longer taxed with MaterialTabs even if they didn't use those components.

BREAKING CHANGES

If using `BottomNavigation`, just install `@nativescript-community/ui-material-bottom-navigation` and update your imports to use it. API is exactly the same.

If using `Tabs`, just install `@nativescript-community/ui-material-tabs` and update your imports to use it. API is exactly the same.
2021-04-06 11:18:36 -07:00
9a7d3ecb34 feat: implement BoxShadowDrawable 2021-04-06 11:18:36 -07:00
a822f2affb chore: a11y polish (#9259) 2021-04-06 11:18:36 -07:00
aaeab990c8 fix(color): support web standard #rrggbbaa format
original pr credit to @farfromrefug
https://github.com/NativeScript/NativeScript/pull/8519

BREAKING CHANGE

Long standing inconsistency with color handling here.

BEFORE:

```
// #aarrggbb

const color = new Color('#ff00ff00');

Label {
    background-color: #ff00ff00;
}
```

AFTER:

```
// #rrggbbaa

const color = new Color('#00ff00ff');

Label {
    background-color: #00ff00ff;
}
```
2021-04-06 11:18:36 -07:00
e9b5eb934d chore: cleanup a11y and add demo page 2021-04-06 11:18:36 -07:00
f5db58414a fix: safeguards against invalid values 2021-04-06 11:18:36 -07:00
733050995c fix(core): type collisions with namespace (#8809) 2021-04-06 11:18:36 -07:00
19ce9fc2bf chore: box shadow updates (#9220) 2021-04-06 11:18:36 -07:00
d2f50e50bb feat: improved css-shadow parser 2021-04-06 11:18:36 -07:00
673387cf99 chore: cleanup 2021-04-06 11:18:36 -07:00
a12c188d0f fix(core): stack layout padding (#9183)
fixes #8810
2021-04-06 11:18:36 -07:00
3bd2d96f29 feat(core): box shadow demo (#9182) 2021-04-06 11:18:36 -07:00
a90609a670 feat(core): RootLayout with api to fluidly handle dynamic layers (#8980) 2021-04-06 11:18:36 -07:00
a6b1bde655 feat(core): text-shadow support (#8991) 2021-04-06 11:18:36 -07:00
67e2fe42b7 feat(core): box-shadow support (#9161) 2021-04-06 11:18:36 -07:00
6cc130fa6f feat(core): reusable views (#9163) 2021-04-06 11:18:36 -07:00
ac7f041dea fix(core): AndroidTransitionType symbol export handling (#9252)
BREAKING CHANGE:

AndroidTransitionType is now a static member of the Transition class.

BEFORE:

```
import { AndroidTransitionType } from '@nativescript/core/ui/transition';
```

AFTER:

```
import { Transition } from '@nativescript/core';
Transition.AndroidTransitionType.enter; // etc.
```
2021-02-27 13:16:39 -08:00
b688994f98 test: skip some flaky tests on CI 2021-02-05 23:02:44 +01:00
11b3b84114 chore: release prep 2021-02-05 12:24:46 -08:00
4945702620 ci: run apps/automated on CI (#9196) 2021-02-05 11:21:16 -08:00
abc78800f2 test(web-view): fix failing tests due to files not being copied 2021-02-04 22:15:58 +01:00
5fe27428e0 feat(android): FlexboxLayout support for isPassThroughParentEnabled (#8798) 2021-01-29 13:03:27 -08:00
9aad2dbdbc feat(ios): types for latest ios 14.3 with Xcode 12.3 (#9118) 2020-12-30 07:57:10 -08:00
b47ce0a97c fix: android Tabs selected item color incorrectly applied (#9040)
* fix: selected-item-color gets applied to wrong TabStripItems

* chore: Added selection colors to 2 ui examples.

* chore: Removing used for testing.
2020-12-28 13:50:23 +01:00
e16bc606ef fix: android ActivityIndicator custom color affecting other indicators on the page (#9026)
* fix(core): Setting color of an Android ActivityIndicator changed the color of the rest of ActivityIndicators in the same page.

* test: Updated ActivityIndicator sample.

* perf: Call mutate() only if color is actually changed.
2020-12-28 13:48:14 +01:00
9391b44996 fix(tabs): ios safeArea calculation (#9089)
* fix(tabs): ios safeArea calculation

* feat(tabs): respect iosOverflowSafeArea value
2020-12-28 13:38:28 +01:00